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)

23 lines (22 loc) 666 B
/// <reference types="react" /> /** * This component can be both controlled or uncontrolled depending on the open property. */ export declare function Details({ summary, children, expanded, defaultExpanded, sd: initSd, onChange, ...props }: { summary: React.ReactNode; children: React.ReactNode; /** * If any none-null value is provided, act as a controlled */ expanded?: boolean; /** * For uncontrolled use * @default false */ defaultExpanded?: boolean; onChange?: (expanded: boolean) => void; /** * @default filled */ sd?: 'outlined' | 'filled'; }): import("react/jsx-runtime").JSX.Element;