UNPKG

phx-react

Version:

PHX REACT

16 lines (15 loc) 539 B
import React from 'react'; interface IActivityHistoryProps<ChildType = any> { loading?: boolean; title?: string; data: Array<{ date: string; childs: Array<ChildType>; }>; generateChildren?(item: ChildType): React.ReactNode | string; bgColor?: string; emptyText?: string; enableHTML?: boolean; } export default function PHXActivityHistory<ChildType>({ loading, title, data, generateChildren, bgColor, emptyText, enableHTML, }: IActivityHistoryProps<ChildType>): React.JSX.Element; export {};