Skip to content

Commit

Permalink
[DEV-11281] Added a storybook entry for Accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
fgyimah committed Aug 10, 2023
1 parent 8dabae1 commit b212c59
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import * as React from 'react';

import { Accordion } from '#components';

export default {
title: 'Components/Accordion',
decorators: [
(Story: React.ComponentType) => (
<div style={{ background: 'rgba(31, 32, 35, 0.5)' }}>
<Story />
</div>
),
],
};

export function Default() {
return <Accordion title="Default">Test accordion</Accordion>;
}

0 comments on commit b212c59

Please sign in to comment.