Skip to main content

LayoutStylePanelProps

@lowcode/ui-kit


Interface: LayoutStylePanelProps

Defined in: components/layout/LayoutStylePanel.tsx:25

Пропсы панели Layout + Appearance.

Панель специально сделана независимой от DSL: она оперирует абстрактными объектами layout/style, не зная их типы. Привязка к конкретным типам (LayoutProps / StyleProps) выполняется на уровне builder-web (в PropertiesPanel).

Properties​

componentType?​

optional componentType: string

Defined in: components/layout/LayoutStylePanel.tsx:30


layout?​

optional layout: Record<string, unknown>

Defined in: components/layout/LayoutStylePanel.tsx:27


nodeId​

nodeId: string

Defined in: components/layout/LayoutStylePanel.tsx:26


onApply()​

onApply: (patch) => void

Defined in: components/layout/LayoutStylePanel.tsx:32

Parameters​

patch​
layout?​

Record<string, unknown>

style?​

Record<string, unknown>

styleStates?​

Record<string, unknown>

Returns​

void


onOpenExpressionEditor()?​

optional onOpenExpressionEditor: (payload) => void

Defined in: components/layout/LayoutStylePanel.tsx:31

Parameters​

payload​
field​

string

value​

string

Returns​

void


style?​

optional style: Record<string, unknown>

Defined in: components/layout/LayoutStylePanel.tsx:28


styleStates?​

optional styleStates: Record<string, unknown>

Defined in: components/layout/LayoutStylePanel.tsx:29