ruffer-pattern-portfolio
Version:
This is the end result from https://dev.to/swyx/quick-guide-to-setup-your-react--typescript-storybook-design-system-1c51
15 lines (14 loc) • 400 B
TypeScript
import { TableProps as BootstrapTableProps } from 'react-bootstrap';
export interface PortfolioTableProps extends BootstrapTableProps {
error?: boolean;
loading?: boolean;
manager?: string;
classNames?: string;
Rows: PortfolioTableRow[];
}
export interface PortfolioTableRow {
Name: string;
PtgTotalWealth: number;
PtgYield: number;
Total: number;
}