UNPKG

soda-material

Version:

A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)

23 lines (22 loc) 1.03 kB
/// <reference types="react" /> import './list.scss'; /** * @specs https://m3.material.io/components/lists/specs */ export declare const List: import("react").ForwardRefExoticComponent<{ headline: React.ReactNode; supportingText?: React.ReactNode; leadingIcon?: React.ReactNode; leadingAvatarLabelText?: React.ReactNode; leadingVideoThubnail?: React.ReactNode; trailingIcon?: React.ReactNode; trailingSupportingText?: React.ReactNode; disabled?: boolean | undefined; /** * 1 means only one line of headline and no supporting text * 2 means one lines of supporting text * 3 means two lines of supporting text */ lines?: 1 | 2 | 3 | undefined; as?: keyof JSX.IntrinsicElements | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "as" | "disabled" | "trailingIcon" | "leadingIcon" | "headline" | "supportingText" | "leadingAvatarLabelText" | "leadingVideoThubnail" | "trailingSupportingText" | "lines"> & import("react").RefAttributes<HTMLElement>>;