Merged in chore/move-enter-details (pull request #2778)
Chore/move enter details Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -4,12 +4,11 @@ import styles from "./sidePanel.module.css"
|
||||
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
|
||||
interface SidePanelProps extends VariantProps<typeof sidePanelVariants> {}
|
||||
type SidePanelProps = { children: React.ReactNode } & VariantProps<
|
||||
typeof sidePanelVariants
|
||||
>
|
||||
|
||||
export function SidePanel({
|
||||
children,
|
||||
variant,
|
||||
}: React.PropsWithChildren<SidePanelProps>) {
|
||||
export function SidePanel({ children, variant }: SidePanelProps) {
|
||||
const classNames = sidePanelVariants({ variant })
|
||||
return (
|
||||
<div className={classNames}>
|
||||
|
||||
Reference in New Issue
Block a user