UNPKG

soda-material

Version:

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

7 lines (6 loc) 314 B
/// <reference types="react" /> /** * 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;