Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from neynarxyz/ds/neyn-2493-add-docs-for-secur…
Browse files Browse the repository at this point in the history
…e-write-actions

add: docs for secure write actions and reaction/version bump fixes
  • Loading branch information
dylsteck authored Aug 23, 2024
2 parents 276e9d3 + ab099d5 commit 853ca83
Show file tree
Hide file tree
Showing 7 changed files with 1,652 additions and 790 deletions.
12 changes: 9 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,26 @@ import type { StorybookConfig } from "@storybook/react-vite";

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],

addons: [
"@storybook/addon-onboarding",
"@storybook/addon-links",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
'@storybook/addon-themes',
"storybook-source-link"
],

framework: {
name: "@storybook/react-vite",
options: {},
},
docs: {
autodocs: "tag",
},

docs: {},

typescript: {
reactDocgen: "react-docgen-typescript"
}
};
export default config;
4 changes: 4 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ const withNeynarProvider: Decorator = (Story, context) => {

const preview: Preview = {
decorators: [themeDecorator, withNeynarProvider],

parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
sourceLink: 'https://github.com/neynarxyz/react/',
},

tags: ["autodocs"]
};

export default preview;
Loading

0 comments on commit 853ca83

Please sign in to comment.