Skip to content

Commit

Permalink
Add component to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
nathalia-84 committed Feb 28, 2024
1 parent 12ba30f commit 53e1788
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 14 additions & 0 deletions src/stories/Toggle.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Toggle from '../components/Toggle';

export default {
title: 'Components/Toggle',

render: (args) => {
const $container = document.createElement('div');
const toggle = new Toggle(args);
toggle.mount($container);
return $container;
},
};

export const Default = {};
3 changes: 0 additions & 3 deletions src/styles/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ $grey150: rgb(236, 239, 242);
$gray800: rgb(57, 67, 79);
$gray600: rgb(128, 139, 154);
$blue500: rgb(27, 133, 243);
<<<<<<< HEAD
$yellow500: rgb(255, 197, 66);
=======
$grayBackground: rgba(217, 223, 230);
>>>>>>> f903132 (Made some adjustments according to reviews)

0 comments on commit 53e1788

Please sign in to comment.