diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 2b8610d7b..e259a4440 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -131,4 +131,5 @@ export const parameters = { viewports: viewPorts, }, options: { showPanel: true }, + chromatic: { delay: 2000 }, }; diff --git a/src/components/Chart/Chart.stories.mdx b/src/components/Chart/Chart.stories.mdx index 5e341045e..3f1377576 100644 --- a/src/components/Chart/Chart.stories.mdx +++ b/src/components/Chart/Chart.stories.mdx @@ -8,12 +8,7 @@ import DonutChartShowCase from '../storyUtils/DonutChartShowCase'; import { color } from './LineChart/story.utils'; import { initData } from './LineChart/mockedData'; - + # LineChart diff --git a/src/components/Select/Select.tsx b/src/components/Select/Select.tsx index 9f34ccf5c..93e0ae77c 100644 --- a/src/components/Select/Select.tsx +++ b/src/components/Select/Select.tsx @@ -310,8 +310,11 @@ const Select = React.forwardRef +### Disclaimer + +In case of importing data produced using useMemo or external const, follow this pattern: + +```js +import { Row } from '@orfium/ictinus/dist/components/Table/Table'; +... +const data: Row = useMemo(() => {}, []); +//or other types of data +``` + +Where Row is the type from the Table, so you must import it from there. + # Regular Table Regular Table with simple rows