1
0
Fork 0

feat(shared): Added testing to lab

This commit is contained in:
Joost De Cock 2022-09-06 17:46:51 +02:00
parent 9d5b1b5873
commit e22ae97463
5 changed files with 76 additions and 72 deletions

View file

@ -21,7 +21,7 @@ const OptionGroup = props => {
<Ul>
{Object.entries(props.options).map(([option, type]) => typeof type === "string"
? <Option {...props} type={type} option={option} key={option} />
: <OptionGroup {...props} group={option} options={type} key={option}/>)
: <OptionGroup {...props} group={option} options={type} key={option} Option={Option}/>)
}
</Ul>
</Details>