Skip to content

Commit

Permalink
fix(Drawer): made checkbox readonly to address warning (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Jul 17, 2022
1 parent 8ba2767 commit 5a22ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drawer/Drawer.tsx
Expand Up @@ -40,7 +40,7 @@ const Drawer = ({
data-theme={dataTheme}
className={classes}
>
<input type="checkbox" className="drawer-toggle" checked={open} />
<input type="checkbox" className="drawer-toggle" checked={open} readOnly />
<div className="drawer-content">{children}</div>
<div className="drawer-side">
<label className="drawer-overlay" onClick={onClickOverlay}></label>
Expand Down

0 comments on commit 5a22ad0

Please sign in to comment.