MCPcopy Index your code
hub / github.com/tinyplex/tinybase / ValuesActions

Function ValuesActions

src/ui-solid-inspector/index.tsx:534–546  ·  view source on GitHub ↗
(props: ValuesProps)

Source from the content-addressed store, hash-verified

532 });
533
534const 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
548const CloneValue = (props: OnDoneProp & ValueProps) => {
549 const has = useHasValueCallback(props.store);

Callers

nothing calls this directly

Calls 3

useHasValuesFunction · 0.90
ActionsFunction · 0.70
ConfirmableActionsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…