import type { ForwardedRef, ForwardRefExoticComponent } from 'react'; import React, { forwardRef } from 'react'; import classNames from 'classnames'; import type { Spacing } from '../../types'; export interface SpacerProps { /** * Allow the component to grow. * * @default false */ grow?: boolean; /** * Set the size of the component. * @type boolean | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | '3xl' | '4xl' * @default 'lg' */ size?: boolean | Spacing; } export const Spacer: ForwardRefExoticComponent = forwardRef(function Spacer( { grow = false, size = true, ...rest }: SpacerProps, forwardedRef: ForwardedRef ) { return ( ); });