Seed Bible extension API (v1.19.0) / seed-bible/components / EmptyStateProps
Type Alias: EmptyStateProps
type EmptyStateProps = Omit<
JSX.HTMLAttributes<HTMLDivElement>,
"size" | "title" | "icon" | "action" | "class" | "className" | "children"
> & {
action?: ComponentChild;
children?: ComponentChildren;
class?: string;
className?: string;
icon?: string | ComponentChild;
size?: EmptyStateSize;
title?: ComponentChild;
};Type Declaration
action?
action?: ComponentChild;What to do about it, usually a Button.
children?
children?: ComponentChildren;The hint, or the whole note when there is no title: "No bookmarks yet."
class?
class?: string;className?
className?: string;Extra classes, for placement. class and className both work.
icon?
icon?: string | ComponentChild;A Material Symbols name such as "bookmark", or an icon element (an SVG). Decorative: screen readers skip it.
size?
size?: EmptyStateSize;inline is a quiet note inside a list or section. panel is centered and fills the room a whole pane has, for a screen that is empty.
title?
title?: ComponentChild;The one-line headline, for an empty state with a title above its hint.