Closed Sahani18 closed 1 year ago
Hey @Sahani18
Issues without a reproduction link are likely to stall.
Can you provide a codesandbox with an example?
There is a red swigly line under steps but things are working properly. I'm afraid it may break in production
You are using top-left
as a placement for a step, but that's not valid.
Check the docs for the available options
Fixed that but still same issue
You need to type your steps...
Import the Step
from this package, and set your step variable.
const step: Array<Step> = ...
Anyway, this was never a problem with the library. but misconfigured TS code. Closing it.
The expected type comes from property 'steps' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<{ children?: ReactNode; }>'