commit changes
This commit is contained in:
parent
6f21f2f12b
commit
1789b83c2d
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": [
|
||||
"development"
|
||||
],
|
||||
"hints": {
|
||||
"no-inline-styles": "off"
|
||||
}
|
||||
}
|
|
@ -15,6 +15,7 @@ import {
|
|||
Link,
|
||||
TableCellLayout,
|
||||
TableColumnDefinition,
|
||||
tokens,
|
||||
} from '@fluentui/react-components';
|
||||
|
||||
import { IOrder } from '../../models/IOrder';
|
||||
|
@ -88,7 +89,11 @@ const columns: TableColumnDefinition<IOrder>[] = [
|
|||
return <span style={{ fontWeight: 700 }}>Total</span>;
|
||||
},
|
||||
renderCell: (item) => {
|
||||
return <TableCellLayout truncate>{` $ ${item.total} `} </TableCellLayout>;
|
||||
return (
|
||||
<TableCellLayout style={{ color: tokens.colorBrandForeground1, fontWeight: tokens.fontWeightMedium }} truncate>
|
||||
{` $ ${item.total} `}
|
||||
</TableCellLayout>
|
||||
);
|
||||
},
|
||||
}),
|
||||
createTableColumn<IOrder>({
|
||||
|
|
Loading…
Reference in New Issue