StackLayoutProps
Interface
Represents the props of the KendoReact StackLayout component.
Definition
Package:@progress/kendo-react-layout
Properties
Specifies the horizontal and vertical alignment of the inner StackLayout elements. Demo (here) and (here).
The possible keys are:
horizontal—Defines the possible horizontal alignment of the inner StackLayout elements.start—Uses the start point of the container.center—Uses the central point of the container.end—Uses the end point of the container.- (Default)
stretch—Stretches the items to fill the width of the container.
vertical—Defines the possible vertical alignment of the inner StackLayout elements.top—Uses the top point of the container.middle—Uses the middle point of the container.bottom—Uses the bottom point of the container.- (Default)
stretch—Stretches the items to fill the height of the container.
children?
ReactNode
The React elements that will be rendered inside the StackLayout.
className?
string
Sets additional CSS classes to the StackLayout.
gap?
string | number
Specifies the gap between the inner elements (see example).
id?
string
Sets the id property of the root StackLayout element.
Specifies the StackLayout orientation. (see example).
The possible values are:
- (Default)
horizontal vertical
Default:
horizontal
style?
CSSProperties
Sets additional CSS styles to the StackLayout.