From ed56ad1386cdf40425b63e5d0237c94ea68b9423 Mon Sep 17 00:00:00 2001 From: "patched.codes[bot]" <298395+patched.codes[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 01:02:38 +0000 Subject: [PATCH 1/3] Patched /tmp/tmpp4i59io9/docs/fern/docs/pages/sdk/use-stack-frame-api.mdx --- .../docs/pages/sdk/use-stack-frame-api.mdx | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/fern/docs/pages/sdk/use-stack-frame-api.mdx diff --git a/docs/fern/docs/pages/sdk/use-stack-frame-api.mdx b/docs/fern/docs/pages/sdk/use-stack-frame-api.mdx new file mode 100644 index 0000000000..b0fef7d7d3 --- /dev/null +++ b/docs/fern/docs/pages/sdk/use-stack-frame-api.mdx @@ -0,0 +1,32 @@ +--- +title: useStackFrameApi +--- + +# useStackFrameApi + +A custom hook that provides access to the StackFrame API client. + +## Parameters + +- `options` (optional): An object with the following properties: + - `apiKey` (optional): A string representing the API key for authentication. + +## Example + +```tsx +import { useStackFrameApi } from '@stackframe/stack'; + +function MyComponent() { + const api = useStackFrameApi({ + apiKey: 'your-api-key-here', + }); + + // Use the api object to make API calls + // For example: + // api.someEndpoint.someMethod() + + return ( + // Your component JSX + ); +} +``` \ No newline at end of file From 772e73a110e8b9d2fd5f6ff2c4b29b44c0d2ce6a Mon Sep 17 00:00:00 2001 From: "patched.codes[bot]" <298395+patched.codes[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 01:02:38 +0000 Subject: [PATCH 2/3] Patched /tmp/tmpp4i59io9/docs/fern/docs/pages/sdk/social-media-icons.mdx --- .../docs/pages/sdk/social-media-icons.mdx | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/fern/docs/pages/sdk/social-media-icons.mdx diff --git a/docs/fern/docs/pages/sdk/social-media-icons.mdx b/docs/fern/docs/pages/sdk/social-media-icons.mdx new file mode 100644 index 0000000000..a5b8f8bdad --- /dev/null +++ b/docs/fern/docs/pages/sdk/social-media-icons.mdx @@ -0,0 +1,22 @@ +--- +title: SocialMediaIcons +--- + +# SocialMediaIcons + +A component that renders social media icons with links. + +## Example + +```tsx +import { SocialMediaIcons } from '@stackframe/stack'; + +const MyComponent = () => { + return ( +