-
I have a component that takes a relatively complex, but clearly defined input type: type SeatPlanType = {
id: SeatType['id'];
status: SeatStatus;
}[][][] reactpreview just generates the component with an empty array. Should I be expecting more? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
That's a good question. This probably works as intended. React Preview simply generates empty arrays by default. We could change that to generate one or more items instead. What do you think? |
Beta Was this translation helpful? Give feedback.
-
Hi @johtso, I thought I'd let you know that React Preview now generates non-empty arrays since v0.4.3 :) |
Beta Was this translation helpful? Give feedback.
Hi @johtso, I thought I'd let you know that React Preview now generates non-empty arrays since v0.4.3 :)