()
| 11 | export const ValuesView = (props: ValuesProps): JSXElement => { |
| 12 | const valueIds = useValueIds(() => props.store); |
| 13 | const content = () => { |
| 14 | const Value = props.valueComponent ?? ValueView; |
| 15 | return wrap( |
| 16 | arrayMap(getValue(valueIds) as Id[], (valueId: Id) => ( |
| 17 | <Value |
| 18 | {...getProps(props.getValueComponentProps, valueId)} |
| 19 | valueId={valueId} |
| 20 | store={props.store} |
| 21 | debugIds={props.debugIds} |
| 22 | /> |
| 23 | )), |
| 24 | props.separator, |
| 25 | ); |
| 26 | }; |
| 27 | return <>{content()}</>; |
| 28 | }; |
no test coverage detected
searching dependent graphs…