-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Looks like Col
is currently expecting its component prop to be of type (() => string) | string
–documentation lists the expected type as elementType
, and passing it a component works as expected.
type ColProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
width?: "auto" | number | string,
debug?: boolean,
offset?: Offsets,
push?: Push,
pull?: Pull,
style?: object,
component?: (() => string) | string
} & ScreenClassMap<number | "content">;
JanderSilv
Metadata
Metadata
Assignees
Labels
No labels