Files
claude-code/packages/@ant/ink/src/components/Spacer.tsx
T
2026-04-07 16:17:48 +08:00

11 lines
293 B
TypeScript

import React from 'react'
import Box from './Box.js'
/**
* A flexible space that expands along the major axis of its containing layout.
* It's useful as a shortcut for filling all the available spaces between elements.
*/
export default function Spacer() {
return <Box flexGrow={1} />
}