Home / Function/ HooksListEmpty() — supabase Function Reference

HooksListEmpty() — supabase Function Reference

Architecture documentation for the HooksListEmpty() function in HooksListEmpty.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Database/Hooks/HooksList/HooksListEmpty.tsx lines 3–36

export const HooksListEmpty = () => {
  return (
    <Table
      className="table-fixed"
      head={
        <>
          <Table.th key="name" className="w-[20%]">
            <p className="translate-x-[36px]">Name</p>
          </Table.th>
          <Table.th key="table" className="w-[15%] hidden lg:table-cell">
            Table
          </Table.th>
          <Table.th key="events" className="w-[24%] hidden xl:table-cell">
            Events
          </Table.th>
          <Table.th key="webhook" className="hidden xl:table-cell">
            Webhook
          </Table.th>
          <Table.th key="buttons" className="w-[5%]"></Table.th>
        </>
      }
      body={
        <Table.tr>
          <Table.td colSpan={5}>
            <p className="text-sm text-foreground">No hooks created yet</p>
            <p className="text-sm text-foreground-light">
              Create a new hook by clicking "Create a new hook"
            </p>
          </Table.td>
        </Table.tr>
      }
    />
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free