UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

14 lines (11 loc) 282 B
import * as React from 'react' export type Assign<T, U> = { [P in keyof (T & U)]: P extends keyof T ? T[P] : P extends keyof U ? U[P] : never } export type ForwardRef<T, P> = React.ForwardRefExoticComponent< React.PropsWithoutRef<P> & React.RefAttributes<T> >