(props: ValuesProps)
| 532 | }); |
| 533 | |
| 534 | const ValuesActions = (props: ValuesProps) => |
| 535 | Actions({ |
| 536 | left: ConfirmableActions({ |
| 537 | actions: [['add', 'Add value', AddValue]], |
| 538 | store: props.store, |
| 539 | }), |
| 540 | right: useHasValues(props.store)() |
| 541 | ? ConfirmableActions({ |
| 542 | actions: [['delete', 'Delete all values', DeleteValues]], |
| 543 | store: props.store, |
| 544 | }) |
| 545 | : EMPTY_STRING, |
| 546 | }); |
| 547 | |
| 548 | const CloneValue = (props: OnDoneProp & ValueProps) => { |
| 549 | const has = useHasValueCallback(props.store); |
nothing calls this directly
no test coverage detected
searching dependent graphs…