Skip to content

Commit

Permalink
docs: link to undocumented JS interface definitions (#3191)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Rometsch <[email protected]>
  • Loading branch information
strugee and dabeeeenster authored Dec 19, 2023
1 parent e6822bd commit 9178604
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/clients/client-side/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ export function MyComponent() {
useFlags(requiredFlags:string[], requiredTraits?:string[])=> {[key:string]: IFlagsmithTrait or IFlagsmithFeature}
```

You can find the exact definitions of these types
[in the SDK](https://github.com/Flagsmith/flagsmith-js-client/blob/main/types.d.ts).

## FlagsmithProvider API Reference

| Property | Description | Required | Default Value |
Expand Down

3 comments on commit 9178604

@vercel
Copy link

@vercel vercel bot commented on 9178604 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9178604 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9178604 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-flagsmith.vercel.app
docs-flagsmith.vercel.app
docs.flagsmith.com
docs.bullet-train.io

Please sign in to comment.