import React from 'react'; import styled from 'styled-components'; import { Align } from 'common'; import { SkeletonText, DataTable } from 'components'; import TableSkeletonRows from 'components/Datatable/TableSkeletonRows'; import TableSkeletonHeader from 'components/Datatable/TableHeaderSkeleton'; import { TableStyle } from 'common'; import { FinancialSheetRoot, FinancialSheetTitle, FinancialSheetType, FinancialSheetDate, FinancialSheetTable, } from './StyledFinancialSheet'; /** * Financial sheet paper skeleton. * @returns {React.JSX} */ export function FinancialSheetSkeleton({ minimal, fullWidth, titleCharsLength, typeCharsLength, dateCharsLength, skeletonTableColumns, }) { return ( ); } FinancialSheetSkeleton.defaultProps = { titleCharsLength: 20, typeCharsLength: 40, dateCharsLength: 20, skeletonTableColumns: [ { id: 'skeleton-1', className: 'skeleton-1', }, { id: 'skeleton-2', className: 'skeleton-2', align: Align.Right, }, ], }; const FinancialSkeletonTable = styled(DataTable)` .table .th .skeleton, .table .td .skeleton { margin-top: 4px; margin-bottom: 4px; } `;