UNPKG

@hakit/components

Version:
14 lines 1.21 kB
import { EntityName } from '@hakit/core'; import { EntitiesCardRow, CardBaseProps } from '../..'; import { ReactElement } from 'react'; type OmitProperties = "as" | "active" | "disabled" | "children" | "entity" | "title" | "onClick" | "modalProps" | "serviceData" | "service" | "disableRipples" | "disableActiveState" | "disableScale"; export interface EntitiesCardProps extends Omit<CardBaseProps<"div", EntityName>, OmitProperties> { /** the children for the ButtonBar, it accepts ButtonBarButton components */ children: ReactElement<typeof EntitiesCardRow> | ReactElement<typeof EntitiesCardRow>[]; /** include the last updated time, will apply to every row unless specified on an individual EntityItem @default false */ includeLastUpdated?: boolean; } /** The EntitiesCard component is an easy way to represent the state a of multiple entities with a simple layout, you can customize every part of every row with the EntityItem properties, the renderState and onClick both receive the entity object with the api properties. */ export declare function EntitiesCard(props: EntitiesCardProps): import("@emotion/react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=index.d.ts.map