import { default as React } from 'react'; import { default as IStackProps } from './IStackProps'; /** * A stack component that arranges its children in a vertical or horizontal layout * @param props {@link IStackProps} - Props for the Stack component * @returns The rendered Stack component * * @example * ```tsx * function App() { * return ( * * Item 1 * Item 2 * * ); * } * ``` * * @example * ```tsx * // Responsive stack * function App() { * return ( * * Item 1 * Item 2 * * ); * } * ``` * * @example * ```tsx * // Wrap content * function App() { * return ( * * Item 1 * Item 2 * * ); * } * ``` * * @example * ```tsx * // Custom element * // A list Stack renders only the container: pass
  • children yourself * function App() { * return ( * *
  • * Item 1 *
  • *
  • * Item 2 *
  • * * ); * } * ``` * * @example * ```tsx * // Direction - Supported values: column, row, rowReverse, columnReverse * function App() { * return ( * * Item 1 * Item 2 * * ); * } * ``` * * @example * ```tsx * // Spacing * function App() { * return ( * * Item 1 * Item 2 * * ); * } * ``` * * @example * ```tsx * // Justify * function App() { * return ( * * Item 1 * Item 2 * * ); * } * ``` */ declare const Stack: React.FC; export default Stack;