import { GapSpacingProps, GlobalProps, GlobalState } from '../../shared/model'; export declare const StackVariantList: readonly ["simple", "divider"]; export type StackVariantType = (typeof StackVariantList)[number]; export declare const StackDirectionList: readonly ["row", "column"]; export type StackDirectionType = (typeof StackDirectionList)[number]; export declare const StackAlignmentList: readonly ["stretch", "start", "end", "center"]; export type StackAlignmentType = (typeof StackAlignmentList)[number]; export declare const StackJustifyContentList: readonly ["space-between", "start", "end", "center"]; export type StackJustifyContentType = (typeof StackJustifyContentList)[number]; export type DBStackDefaultProps = { /** * Change variant of stack. To use variant="divider" add a DBDivider after each element */ variant?: StackVariantType; /** * Set the direction of the stack. Defaults to "column" */ direction?: StackDirectionType; /** * If the stack should wrap if parent is too small otherwise you get an overflow */ wrap?: boolean; /** * Represents css align-items */ alignment?: StackAlignmentType; /** * Represents css justify-content */ justifyContent?: StackJustifyContentType; }; export type DBStackProps = DBStackDefaultProps & GlobalProps & GapSpacingProps; export type DBStackDefaultState = {}; export type DBStackState = DBStackDefaultState & GlobalState;