chore: reformat code
This commit is contained in:
parent
3d930aa73b
commit
aedabcbdee
509 changed files with 6030 additions and 4266 deletions
|
|
@ -8,7 +8,7 @@ const EmptyTable = memo(({ message, className }) => {
|
|||
<div
|
||||
className={classNames(
|
||||
className,
|
||||
'flex flex-col items-center w-full mt-13 text-sm font-bold font-museo'
|
||||
'flex flex-col items-center w-full mt-13 text-sm font-bold font-museo',
|
||||
)}>
|
||||
<EmptyTableIcon />
|
||||
<H4>{message}</H4>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ const Table = memo(({ className, children, ...props }) => {
|
|||
{...props}
|
||||
className={classnames(
|
||||
'table-fixed border-separate border-spacing-0',
|
||||
className
|
||||
className,
|
||||
)}>
|
||||
{children}
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ const TableCell = memo(
|
|||
({ colspan, rightAlign, className, children, ...props }) => {
|
||||
const styles = {
|
||||
[classes.tableCell]: true,
|
||||
'text-right': rightAlign
|
||||
'text-right': rightAlign,
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
@ -18,7 +18,7 @@ const TableCell = memo(
|
|||
{children}
|
||||
</td>
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
export default TableCell
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ const TableHeaderCell = memo(
|
|||
({ rightAlign, children, className, ...props }) => {
|
||||
const styles = {
|
||||
'bg-zodiac text-white py-0 px-6 h-8 text-sm text-left': true,
|
||||
'text-right': rightAlign
|
||||
'text-right': rightAlign,
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
@ -13,7 +13,7 @@ const TableHeaderCell = memo(
|
|||
{children}
|
||||
</th>
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
export default TableHeaderCell
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ const TableRow = memo(
|
|||
'h-8': !header && size === 'sm',
|
||||
'h-9 font-bold text-base ': !header && size === 'lg',
|
||||
'bg-misty-rose': error,
|
||||
'bg-spring3': success
|
||||
'bg-spring3': success,
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
@ -16,7 +16,7 @@ const TableRow = memo(
|
|||
{children}
|
||||
</tr>
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
export default TableRow
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@ export {
|
|||
TableHead,
|
||||
TableHeader,
|
||||
TableRow,
|
||||
TableBody
|
||||
TableBody,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue