- List(props): ReactNode
Parameters
props: {
children?: ReactNode;
header?: ReactNode;
mode?: "default" | "card";
} & {
className?: string;
style?: CSSProperties & Partial<Record<"--active-background-color" | "--align-items" | "--border-bottom" | "--border-inner" | "--border-top" | "--extra-max-width" | "--font-size" | "--header-font-size" | "--padding-left" | "--padding-right" | "--prefix-padding-right" | "--prefix-width", string>>;
tabIndex?: number;
} & AriaAttributes & RefAttributes<ListRef>
Returns ReactNode
Properties
Readonly $$typeof
$$typeof: symbol
Item
Optional defaultProps
defaultProps?: Partial<{ children?: ReactNode; header?: ReactNode; mode?: "default" | "card"; } & { className?: string; style?: CSSProperties & Partial<Record<"--active-background-color" | "--align-items" | "--border-bottom" | "--border-inner" | "--border-top" | "--extra-max-width" | "--font-size" | "--header-font-size" | "--padding-left" | "--padding-right" | "--prefix-padding-right" | "--prefix-width", string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<ListRef>> Optional displayName
displayName?: string
Optional propTypes
propTypes?: WeakValidationMap<{ children?: ReactNode; header?: ReactNode; mode?: "default" | "card"; } & { className?: string; style?: CSSProperties & Partial<Record<"--active-background-color" | "--align-items" | "--border-bottom" | "--border-inner" | "--border-top" | "--extra-max-width" | "--font-size" | "--header-font-size" | "--padding-left" | "--padding-right" | "--prefix-padding-right" | "--prefix-width", string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<ListRef>>
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.