* Adding blank components. * Adding Todo note for tree * Adding todo note for LighteningMenu * ads button component * Adding storybook support. * storybook integrated with button component * ads button component props completed * button component icon and loading logic implemented * button component completed * Added a text knob. * Adding default text for button. * Merging theme and other fixes. * Fixed info button. * Better types. * Adding background param to components. * Re-using vsariant for callount. * Added props for Text input. * Adding text component. * feedback changes added in button and icon component * type any removed in button component * function naming corrected * Changing empty string to null * Adding enum for DropdownDisplayType. * Change Spinner path * Fixing spinner issues. Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
14 lines
513 B
JavaScript
14 lines
513 B
JavaScript
import { configure, addDecorator, addParameters } from "@storybook/react";
|
|
import { withContexts } from "@storybook/addon-contexts/react";
|
|
import { contexts } from "./configs/contexts";
|
|
import { } from '@storybook/react'; // <- or your storybook framework
|
|
|
|
addDecorator(withContexts(contexts));
|
|
addParameters({
|
|
backgrounds: [
|
|
{ name: 'dark', value: '#090707', default: true },
|
|
{ name: 'light', value: '#fff' },
|
|
],
|
|
});
|
|
configure(require.context("../src", true, /\.stories\.tsx$/), module);
|