@commercetools-uikit/spacings-inset
Version:
An inset spacing component provides a consistent padding to the inner component.
15 lines (14 loc) • 540 B
TypeScript
import { ReactNode } from 'react';
export type TScale = 'xs' | 's' | 'm' | 'l' | 'xl';
export type TInsetProps = {
/** sets the amount of `padding` applied around the children */
scale?: TScale;
/** sets the height of the component to 100% of the available width ('expanded') or 'auto' */
height?: 'collapsed' | 'expanded';
children?: ReactNode;
};
declare const Inset: {
({ scale, height, ...props }: TInsetProps): import("@emotion/react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Inset;