reablocks
Version:
Component library for React
22 lines (20 loc) • 663 B
TypeScript
import { VerticalSpacerTheme } from './VerticalSpacerTheme';
import { FC, HTMLAttributes, LegacyRef } from 'react';
export interface VerticalSpacerProps extends HTMLAttributes<HTMLDivElement> {
/**
* The amount of space to add.
*/
space: VerticalSpaceType;
/**
* Theme for the VerticalSpacer.
*/
theme?: VerticalSpacerTheme;
}
export type VerticalSpaceType = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | string;
export interface VerticalSpacerRef {
/**
* Reference to the HTML div element.
*/
ref?: LegacyRef<HTMLDivElement>;
}
export declare const VerticalSpacer: FC<VerticalSpacerProps & VerticalSpacerRef>;