import classes from './InfoDrawer.module.scss'; import { WithChildren, WithClassName, WithHTMLProps } from '@/hooks/Mapper/types/common.ts'; import clsx from 'clsx'; import React from 'react'; export type InfoDrawerProps = { title?: React.ReactNode; labelClassName?: string; rightSide?: boolean } & WithChildren & WithClassName & Omit; export const InfoDrawer = ({ title, children, className, labelClassName, rightSide, ...htmlProps }: InfoDrawerProps) => { return (
{title &&
{title}
}
{children}
); };