Skip to content

Commit

Permalink
fix: seperator sub component was missing from Sidepanel
Browse files Browse the repository at this point in the history
  • Loading branch information
MildTomato committed Feb 14, 2022
1 parent 3c06772 commit 8e48838
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/SidePanel/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,11 @@ const SidePanel = ({
)
}

export function Seperator() {
let __styles = styleHandler('sidepanel')

return <div className={__styles.seperator}></div>
}

SidePanel.Seperator = Seperator
export default SidePanel
6 changes: 6 additions & 0 deletions src/lib/theme/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,12 @@ export default {
data-closed:animate-panel-slide-right-in
`,
},
seperator: `
w-full
h-px
my-2
bg-scale-300 dark:bg-scale-500
`,
overlay: `
fixed
bg-scale-100
Expand Down

0 comments on commit 8e48838

Please sign in to comment.