Skip to content

Commit

Permalink
Merge pull request #100 from indec-it/feat/addCustomHeaderToDatePicker
Browse files Browse the repository at this point in the history
feat: add custom header to date picker and bump versions
  • Loading branch information
maximilianoforlenza authored Feb 9, 2023
2 parents 5d7e242 + abdc0c1 commit 7e0998b
Show file tree
Hide file tree
Showing 16 changed files with 7,833 additions and 5,600 deletions.
39 changes: 18 additions & 21 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx)"
],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@chakra-ui/storybook-addon"
],
features: {emotionAlias: false},
framework: "@storybook/react",
core: {
builder: "webpack5"
},
refs: {
'@chakra-ui/react': {
disable: true,
},
},
}
"stories": ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx)"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions", "@chakra-ui/storybook-addon"],
features: {
emotionAlias: false
},
framework: "@storybook/react",
core: {
builder: "webpack5"
},
refs: {
'@chakra-ui/react': {
disable: true
}
},
docs: {
autodocs: true
}
};
4 changes: 4 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from 'react';
import {Formik} from 'formik';
import {MemoryRouter} from 'react-router-dom';
import {ChakraProvider} from '@chakra-ui/react';
import ReactSelect from 'react-select';

import {themed} from '@/theme';

Expand All @@ -26,6 +27,9 @@ global.render = (Component, props = {}, options = {}) => {
if (options.wrapper) {
component = <options.wrapper>{component}</options.wrapper>;
}
if (options.reactSelect) {
component = <ReactSelect components={component}/>;
}
mountedComponent = render(component);
}

Expand Down
Loading

0 comments on commit 7e0998b

Please sign in to comment.