Skip to content

Commit

Permalink
fix(component-overview): oppdaterer eksempel-tabell som brukte gamle …
Browse files Browse the repository at this point in the history
…ikoner
  • Loading branch information
antidecaf committed Oct 17, 2023
1 parent 45731ca commit e3a2dea
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions component-overview/examples/tables/Table-customRender.jsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
import Table from '@sb1/ffe-tables-react';
import { TertiaryButton } from '@sb1/ffe-buttons-react';
import { HakeIkon, KryssIkon } from '@sb1/ffe-icons-react';
import Symbol from '@sb1/ffe-symbols-react';

() => {
const generateCheckbox = value => {
return (
<div style={{ width: '100%', textAlign: 'center' }}>
{value ? (
<HakeIkon className="ffe-table__expand-icon" />
<Symbol
ariaLabel=""
size="md"
className="ffe-table__expand-icon"
>
check
</Symbol>
) : (
<KryssIkon className="ffe-table__expand-icon" />
<Symbol
ariaLabel=""
size="md"
className="ffe-table__expand-icon"
>
close
</Symbol>
)}
</div>
);

0 comments on commit e3a2dea

Please sign in to comment.