Files
decky-frontend-lib/src/deck-components/Item.tsx
Lukas Senionis 218e007234 Fix Field and Item types (#23)
* fix(field): correct and extend FieldProps

* fix(item): correct bottomSeparator in ItemProps

* fix(field): correct field commentary

* feat(field): add comment about inlineWrap
2022-09-17 09:57:36 -04:00

12 lines
255 B
TypeScript

import { ReactNode } from 'react';
export interface ItemProps {
label?: string;
description?: string;
layout?: 'below' | 'inline';
icon?: ReactNode;
bottomSeparator?: 'standard' | 'thick' | 'none';
indentLevel?: number;
tooltip?: string;
}