@opendatasoft/visualizations-react
Version:
Opendatasoft's React wrapper for visualization components.
18 lines (17 loc) • 723 B
TypeScript
import React, { CSSProperties } from 'react';
import { Meta, StoryObj } from '@storybook/react';
import type { KpiProps } from '@opendatasoft/visualizations';
import { KpiCard } from 'src';
declare const meta: Meta<typeof KpiCard>;
export default meta;
type KpiCardStoryProps = KpiProps & {
style?: CSSProperties;
};
declare const DemoCards: (stories: {
[key: string]: KpiCardStoryProps;
}) => React.JSX.Element;
export declare const Loading: StoryObj<typeof DemoCards>;
export declare const ShortValue: StoryObj<typeof DemoCards>;
export declare const LongValue: StoryObj<typeof DemoCards>;
export declare const RatioKPI: StoryObj<typeof DemoCards>;
export declare const ComparisonKPI: StoryObj<typeof DemoCards>;