soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
39 lines (38 loc) • 1.21 kB
TypeScript
/// <reference types="react" />
import type { StoryObj } from '@storybook/react';
declare const meta: {
title: string;
component: import("react").ForwardRefExoticComponent<{
sd?: "surface" | "secondary" | "tertiary" | undefined;
size?: "default" | "small" | "large" | undefined;
children?: import("react").ReactNode;
extended?: boolean | undefined;
disabled?: boolean | undefined;
as?: keyof JSX.IntrinsicElements | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "as" | "disabled" | "size" | "children" | "sd" | "extended"> & import("react").RefAttributes<HTMLElement>>;
parameters: {
layout: string;
};
tags: string[];
args: {
children: import("react/jsx-runtime").JSX.Element;
};
argTypes: {
sd: {
options: string[];
control: {
type: string;
};
};
size: {
options: string[];
control: {
type: string;
};
};
};
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Default: Story;
export declare const Extended: Story;