fix(Item): change title and description types to ReactNode

This commit is contained in:
Lukas Senionis
2022-10-29 13:25:30 +03:00
committed by GitHub
parent 0d912eac88
commit 0ed054fae9

View File

@@ -1,8 +1,8 @@
import { ReactNode } from 'react';
export interface ItemProps {
label?: string;
description?: string;
label?: ReactNode;
description?: ReactNode;
layout?: 'below' | 'inline';
icon?: ReactNode;
bottomSeparator?: 'standard' | 'thick' | 'none';