mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Fix toolbar missing a class
This commit is contained in:
parent
cfe829e814
commit
06b0914a88
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import { default as classNames } from "classnames"
|
||||
import { ComponentPropsWithoutRef, memo, ReactNode } from "react"
|
||||
import style from "./base.module.css"
|
||||
import style from "./bar.module.css"
|
||||
|
||||
|
||||
export type ToolBarProps = ComponentPropsWithoutRef<"div"> & {
|
||||
|
@ -37,7 +37,7 @@ export const ToolBar = memo((props: ToolBarProps) => {
|
|||
role="toolbar"
|
||||
{...props}
|
||||
className={classNames(
|
||||
"toolbar",
|
||||
style.toolbar,
|
||||
props.vertical === "top" ? style.toolbarTop : null,
|
||||
props.vertical === "bottom" ? style.toolbarBottom : null,
|
||||
props.vertical === "vadapt" ? style.toolbarVadapt : null,
|
||||
|
|
Loading…
Reference in a new issue