You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Description
Subject
Style Props
Description
Hi! I noticed that the Step and StepSeparator in the Showing Step Summary example here are using invalid props:
gap
and_horizontal
, respectively.In spite of that, it is working just fine! But blindly copying and pasting it in a TSX template had me confused for a minute.
Step gap:
Type '{ children: Element[]; key: number; gap: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "transition" | ... 2 more ... | "translate"> & { ...; } & { ...; }'. Property 'gap' does not exist on type 'IntrinsicAttributes & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "transition" | ... 2 more ... | "translate"> & { ...; } & { ...; }'.ts(2322)
StepSeparator _horizontal:
Type '{ _horizontal: { ml: string; }; }' is not assignable to type 'IntrinsicAttributes & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "transition" | ... 2 more ... | "translate"> & { ...; } & { ...; }'. Property '_horizontal' does not exist on type 'IntrinsicAttributes & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "transition" | ... 2 more ... | "translate"> & { ...; } & { ...; }'.ts(2322)
The text was updated successfully, but these errors were encountered: