UNPKG

soda-material

Version:

A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)

19 lines (18 loc) 641 B
/// <reference types="react" /> import './card.scss'; /** * You can set the `disabled` property to disable ripple * @specs https://m3.material.io/components/cards/specs */ export declare const Card: import("react").ForwardRefExoticComponent<{ /** * Change the container component, div by default */ as?: keyof JSX.IntrinsicElements | undefined; /** * Variant * @default elevated */ sd?: "filled" | "outlined" | "elevated" | undefined; children?: React.ReactNode; } & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "children" | "sd"> & import("react").RefAttributes<HTMLElement>>;