Skip to content

Commit

Permalink
Dapp1 83 btn bugfix (#61)
Browse files Browse the repository at this point in the history
* Fixes btn shape and opening issue

* Fixes btn shape and opening issue

* version 1.0.16

* unused code

---------

Co-authored-by: Bill Tallitsch <[email protected]>
  • Loading branch information
BillTallitsch and btallitsch authored Sep 17, 2024
1 parent 3850620 commit e0436d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@3um-group/atomic-sdk",
"version": "1.0.15",
"version": "1.0.16",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/sidebar/Sidebar.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React from 'react';
import { Meta, StoryFn } from '@storybook/react';
import Sidebar, { SidebarProps } from './Sidebar';

Expand Down
5 changes: 2 additions & 3 deletions src/components/molecules/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useEffect } from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faGear } from '@fortawesome/free-solid-svg-icons';
import { Button } from '../../atoms';

export interface SidebarProps {
children: React.ReactNode;
Expand All @@ -14,8 +13,8 @@ const Sidebar: React.FC<SidebarProps> = ({ children, actions }) => {
<div className="drawer">
<input id="my-drawer" type="checkbox" className="drawer-toggle" />
<div className="drawer-content">
<label htmlFor="my-drawer" className="drawer-button">
<Button><FontAwesomeIcon icon={faGear} /></Button>
<label htmlFor="my-drawer" className="btn drawer-button">
<FontAwesomeIcon icon={faGear} />
</label>
</div>
<div className="drawer-side">
Expand Down

0 comments on commit e0436d3

Please sign in to comment.