Skip to content

Commit

Permalink
docs(instances): add import type example
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi committed Nov 10, 2023
1 parent e7bb8e2 commit d6d1c64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/getting-started/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ FlowbiteInstance.getInstances('Modal');
When creating a new object you can also use the last parameter to set the `instanceOptions` object through which you can set custom options for the Instance manager:

```javascript
import type { InstanceOptions } from 'flowbite';

const instanceOptions: InstanceOptions = {
id: "my-unique-id",
override: true,
Expand Down

0 comments on commit d6d1c64

Please sign in to comment.