Skip to content

Commit

Permalink
Merge pull request #97 from Open-Earth-Foundation/ON-225
Browse files Browse the repository at this point in the history
feat(ON-225): implement contextual data widget in storybook for mobile
  • Loading branch information
gaurab-pant authored Mar 20, 2023
2 parents caad6f5 + 02e8e10 commit 2ebc174
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 2ebc174

Please sign in to comment.