Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/page-builder/components/TopBar

Cockpit client (features), next. Source: ui/client/features/page-builder/components/TopBar.tsx.

Type Aliases#

TopBarProps#

TopBarProps = object

Defined in: ui/client/features/page-builder/components/TopBar.tsx:1

Properties#

name

name: string

Defined in: ui/client/features/page-builder/components/TopBar.tsx:2

onExport

onExport: () => void

Defined in: ui/client/features/page-builder/components/TopBar.tsx:5

Returns

void

onLoad

onLoad: () => void

Defined in: ui/client/features/page-builder/components/TopBar.tsx:7

Returns

void

onRename

onRename: (name) => void

Defined in: ui/client/features/page-builder/components/TopBar.tsx:4

Parameters
name

string

Returns

void

onSave

onSave: () => void

Defined in: ui/client/features/page-builder/components/TopBar.tsx:6

Returns

void

status

status: string

Defined in: ui/client/features/page-builder/components/TopBar.tsx:3

Functions#

TopBar()#

TopBar(__namedParameters): Element

Defined in: ui/client/features/page-builder/components/TopBar.tsx:11

The page name and the three actions on a layout: Export TSX, Save and Load (this browser only).

Parameters#

__namedParameters

TopBarProps

Returns#

Element