LayoutStylePanelProps
Interface: LayoutStylePanelProps
Defined in: components/layout/LayoutStylePanel.tsx:25
Пропсы панели Layout + Appearance.
Панель специально сделана независимой от DSL: она оперирует абстрактными объектами layout/style, не зная их типы. Привязка к конкретным типам (LayoutProps / StyleProps) выполняется на уровне builder-web (в PropertiesPanel).
Properties
componentType?
optionalcomponentType:string
Defined in: components/layout/LayoutStylePanel.tsx:30
layout?
optionallayout: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()?
optionalonOpenExpressionEditor: (payload) =>void
Defined in: components/layout/LayoutStylePanel.tsx:31
Parameters
payload
field
string
value
string
Returns
void
style?
optionalstyle:Record<string,unknown>
Defined in: components/layout/LayoutStylePanel.tsx:28
styleStates?
optionalstyleStates:Record<string,unknown>
Defined in: components/layout/LayoutStylePanel.tsx:29