UNPKG

@theme-ui/components

Version:

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

6 lines (5 loc) 248 B
export type Assign<T, U> = { [P in keyof (T & U)]: P extends keyof T ? T[P] : P extends keyof U ? U[P] : never; }; export interface ForwardRef<T, P> extends React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>> { }