maccounter
13 строк · 290.0 Байт
1import { MouseEventHandler, ReactNode } from 'react'2
3export interface BaseProps {4className?: string5children?: ReactNode6onClick?: MouseEventHandler7}
8
9export type BasePropsWithoutChild = Omit<BaseProps, 'children'>10
11export interface WithChildren {12children?: ReactNode13}
14