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

Function TablesActions

src/ui-solid-inspector/index.tsx:358–370  ·  view source on GitHub ↗
(props: TablesProps)

Source from the content-addressed store, hash-verified

356 });
357
358const TablesActions = (props: TablesProps) =>
359 Actions({
360 left: ConfirmableActions({
361 actions: [['add', 'Add table', AddTable]],
362 store: props.store,
363 }),
364 right: useHasTables(props.store)()
365 ? ConfirmableActions({
366 actions: [['delete', 'Delete all tables', DeleteTables]],
367 store: props.store,
368 })
369 : EMPTY_STRING,
370 });
371
372const AddRow = (props: OnDoneProp & TableProps) => {
373 const has = useHasRowCallback(props.store, props.tableId);

Callers

nothing calls this directly

Calls 3

useHasTablesFunction · 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…