soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
28 lines (27 loc) • 1.04 kB
TypeScript
/// <reference types="react" />
import type { StoryObj } from '@storybook/react';
declare const meta: {
title: string;
component: import("react").ForwardRefExoticComponent<{
sd?: "outlined" | "tonal" | undefined;
children: import("react").ReactNode;
className?: string | undefined;
leadingIcon?: import("react").ReactNode;
trailingIcon?: import("react").ReactNode;
disabled?: boolean | undefined;
onClick?: (() => void) | undefined;
as?: keyof JSX.IntrinsicElements | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "as" | "disabled" | "className" | "children" | "onClick" | "trailingIcon" | "sd" | "leadingIcon"> & import("react").RefAttributes<HTMLElement>>;
parameters: {
layout: string;
};
tags: string[];
args: {
leadingIcon: string;
trailingIcon: string;
};
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Outlined: Story;
export declare const Tonal: Story;