Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 590 Bytes

File metadata and controls

20 lines (12 loc) · 590 Bytes

Home > @asl-19/react-dom-utils > StylableFC

StylableFC type

React FunctionComponent that takes an optional className prop.

Signature:

type StylableFC<P = {}> = FunctionComponent<P & {
    className?: string;
}>;

Remarks

The className prop is used for styling the component instance’s top-level element (which should have className={className}) from the outside.