@vtex/admin-ui
Version:
> VTEX admin component library
32 lines (31 loc) • 1.01 kB
TypeScript
import type { ComponentPropsWithoutRef } from 'react';
import type { ResponsiveValue } from '@vtex/admin-ui-react';
/**
* Component used to display a set of components that are spaced evenly.
* @deprecated Use Stack instead
* @see https://admin-ui.vercel.app/guidelines/components/stack
*/
export declare const Set: import("@vtex/admin-ui-react").AdminUIJsxElement<"div", SetOptions, {}>;
export interface SetOptions {
/**
* orientation of items
* @default vertical
*/
orientation?: ResponsiveValue<'vertical' | 'horizontal'>;
/**
* if the items should grow in width to match the container
* @default false
*/
fluid?: boolean;
/**
* space between items
* @default 0
*/
spacing?: ResponsiveValue<number> | string;
/**
* items alignment
* @default start
*/
align?: ResponsiveValue<'start' | 'end'>;
}
export declare type SetProps = ComponentPropsWithoutRef<typeof Set> & SetOptions;