UNPKG

@theme-ui/components

Version:

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

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