UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

8 lines (7 loc) 335 B
import { makeDecorator } from '@storybook/preview-api'; type ContrastedVariantCallback = (props: object) => 'contrasted' | 'inverse' | null; type DecoratorOptions = { stateByProps: ContrastedVariantCallback; }; export declare const withContrastedVariant: (options: DecoratorOptions) => ReturnType<typeof makeDecorator>; export {};