Skip to content

Commit d9b307f

Browse files
committed
docs: add code comments to react sdk
1 parent 8d7f44c commit d9b307f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react-sdk/src/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,16 @@ export function ReflagProvider({
239239
);
240240
}
241241

242+
/**
243+
* Props for the ReflagBootstrappedProvider.
244+
*/
242245
type ReflagBootstrappedProps = Omit<
243246
ReflagProps,
244247
"user" | "company" | "otherContext"
245248
> & {
249+
/**
250+
* Pre-fetched flags to be used instead of fetching them from the server.
251+
*/
246252
flags?: BootstrappedFlags;
247253
};
248254

0 commit comments

Comments
 (0)