Skip to content

Commit

Permalink
fix story control
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneeza committed Dec 10, 2024
1 parent c448abe commit 53678e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/table/src/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ const meta: StoryMetaType<typeof Table> = {
shouldAlternateRowColor: { control: 'boolean', defaultValue: false },
shouldTruncate: { control: 'boolean', defaultValue: true },
verticalAlignment: {
options: Object.values(VerticalAlignment),
control: { type: 'radio' },
options: VerticalAlignment,
defaultValue: VerticalAlignment.Top,
},
},
args: {
Expand Down Expand Up @@ -108,7 +107,7 @@ const Template: StoryFn<StoryTableProps> = args => {

export const LiveExample: StoryFn<StoryTableProps> = args => {
const tableContainerRef = React.useRef<HTMLDivElement>(null);
const [data] = useState(() => makeKitchenSinkData(100));
const [data] = useState(() => makeKitchenSinkData(10));

const columns = React.useMemo<Array<LGColumnDef<Person>>>(
() => [
Expand Down

0 comments on commit 53678e3

Please sign in to comment.