react-pdf-builder
Version:
Build beautiful PDF documents in React.
16 lines (15 loc) • 710 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
import React from 'react';
import { SwatchColor } from '../../themes/ColorScheme';
interface StoryProps {
format?: string;
/** Optional. One of the [swatch color names](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-themes--docs#swatch-colors) from the theme, as a string. */
swatch?: SwatchColor;
}
declare const StoryComponent: ({ swatch, format }: StoryProps) => React.JSX.Element;
declare const meta: Meta<typeof StoryComponent>;
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Default: Story;
export declare const CustomFormat: Story;
export declare const SwatchedPrimary: Story;