import React from 'react'; /** * Merges native element props and given type */ export type MergeElementProps> = Omit, keyof P> & P; /** * Extends the React FunctionComponent type with the componentName key */ export type FCWithName = React.FC & { componentName: string; };