MCPcopy Create free account
hub / github.com/tinyplex/tinybase / ValuesActions

Function ValuesActions

src/ui-react-inspector/actions/values.tsx:57–74  ·  view source on GitHub ↗
({store}: ValuesProps)

Source from the content-addressed store, hash-verified

55);
56
57export const ValuesActions = ({store}: ValuesProps) => (
58 <Actions
59 left={
60 <ConfirmableActions
61 actions={[['add', 'Add value', AddValue]]}
62 store={store}
63 />
64 }
65 right={
66 useHasValues(store) ? (
67 <ConfirmableActions
68 actions={[['delete', 'Delete all values', DeleteValues]]}
69 store={store}
70 />
71 ) : null
72 }
73 />
74);
75
76// --
77

Callers

nothing calls this directly

Calls 1

useHasValuesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…