UNPKG

soda-material

Version:

A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)

10 lines (8 loc) 291 B
/** * extend a built-in HTMLElement's react properties (by default HTMLDivElement) */ export type ExtendProps< T extends object = object, U extends HTMLElement = HTMLElement > = T & Omit<React.HTMLProps<U>, keyof T | 'ref'> export type TagNameString = keyof JSX.IntrinsicElements