Skip to content

Commit

Permalink
use classname
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneeza committed Nov 20, 2024
1 parent 4de7e7b commit 46209e3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/table/src/Row/Row.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
import { StoryFn } from '@storybook/react';

import Button from '@leafygreen-ui/button';
import { css } from '@leafygreen-ui/emotion';
import LeafyGreenProvider from '@leafygreen-ui/leafygreen-provider';
import { DarkModeProps } from '@leafygreen-ui/lib';

Expand Down Expand Up @@ -82,8 +83,18 @@ const meta: StoryMetaType<typeof Row> = {
>
<TableBody>
<Instance>
<Cell style={{ width: '60px' }}>1</Cell>
<Cell style={{ width: '200px' }}>
<Cell
className={css`
width: 60px;
`}
>
1
</Cell>
<Cell
className={css`
width: 200px;
`}
>
Est mollitia laborum dolores dolorem corporis explicabo
nobis enim omnis. Minima excepturi accusantium iure culpa.
</Cell>
Expand Down

0 comments on commit 46209e3

Please sign in to comment.