refactor: modals
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { classNames } from '@standardnotes/utils'
|
||||
import { ReactNode } from 'react'
|
||||
|
||||
type Props = {
|
||||
className?: string
|
||||
children: ReactNode
|
||||
}
|
||||
|
||||
const MobileModalHeader = ({ className, children }: Props) => {
|
||||
return <div className={classNames('grid w-full grid-cols-[0.35fr_1fr_0.35fr] gap-2', className)}>{children}</div>
|
||||
}
|
||||
|
||||
export default MobileModalHeader
|
||||
Reference in New Issue
Block a user