@wix/design-system
Version:
@wix/design-system
27 lines (24 loc) • 1.06 kB
Markdown
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in the tests.
### className
- type: string
- description: Specifies a CSS class name to be appended to the component's root element.
- internal
### value
- type: "center" | "right" | "left" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | DockPosition[]
- description: Sets the selected position or positions.
### onChange
- type: (position: DockPosition) => void
- description: Defines a callback function which is called when a position is clicked.
### centerSelection
- type: boolean
- description: Displays the center point. When `false`, the center point is not rendered.
- default: true
### disabled
- type: boolean
- description: Specifies whether user interactions are disabled.
- default: false
### disabledDirection
- type: "center" | "right" | "left" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | DockPosition[]
- description: Sets the position or positions that cannot be selected.