adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
13 lines (12 loc) • 538 B
TypeScript
import React from "react";
import type { ExtendElementProps } from "../utils/extendElementProp";
export declare type ListItemProps = ExtendElementProps<"div", React.PropsWithChildren<{
className?: string;
title?: boolean;
selected?: boolean;
activatable?: boolean;
expandable?: boolean;
as?: keyof JSX.IntrinsicElements;
needsAttention?: boolean;
}>>;
export declare function ListItem({ as, children, className, title, selected, expandable, activatable, needsAttention, ...rest }: ListItemProps): JSX.Element;