Skip to content

Commit

Permalink
feat(ON-225): implement contextual data widget in storybook for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cephaschapa committed Mar 20, 2023
1 parent 4a6f414 commit 02e8e10
Show file tree
Hide file tree
Showing 15 changed files with 10,052 additions and 2,518 deletions.
16 changes: 16 additions & 0 deletions ui/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-postcss",
"storybook/addon-postcss",
"@storybook/preset-create-react-app",
"storybook-zeplin/register"
],
"framework": "@storybook/react"
}
9 changes: 9 additions & 0 deletions ui/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
Loading

0 comments on commit 02e8e10

Please sign in to comment.