@wordpress/components
Version:
UI components for WordPress.
29 lines • 648 B
TypeScript
export default VStack;
/**
* `VStack` (or Vertical Stack) is a layout component that arranges child elements in a vertical line.
*
* `VStack` can render anything inside.
*
* @example
* ```jsx
* import { VStack, Text, View } from `@wordpress/components/ui`;
*
* function Example() {
* return (
* <VStack>
* <View>
* <Text>Code</Text>
* </View>
* <View>
* <Text>is</Text>
* </View>
* <View>
* <Text>Poetry</Text>
* </View>
* </VStack>
* );
* }
* ```
*/
declare const VStack: import("../context").PolymorphicComponent<"div", import("./types").Props>;
//# sourceMappingURL=component.d.ts.map