Skip to content

Commit

Permalink
feat(emulsif-243): restructure table stories file
Browse files Browse the repository at this point in the history
  • Loading branch information
robherba committed Aug 14, 2024
1 parent 5763fa6 commit 6813b22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/tables/tables.stories.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import tableTwig from './tables.twig';
import tableData from './tables.yml';
import { props } from './tables.component.yml';
import { mapDataToTwig } from '../../util/dataTransformers';

/**
* Storybook Definition.
*/
export default { title: 'Components/Typography' };

const tableData = mapDataToTwig(props.properties);

export const tables = () => tableTwig(tableData);

0 comments on commit 6813b22

Please sign in to comment.