liber-salti
Version:
Saltí - Liber Design System
21 lines (20 loc) • 548 B
TypeScript
/// <reference types="react" />
import { ElevationHeight } from '../Elevation/Elevation.types';
export interface PaperProps {
/**
* The variant of the component, if it's elevated or outlined
*/
variant?: 'elevation' | 'outlined';
/**
* The shape of the component, if true the component has no border radius
*/
square?: boolean;
/**
* The elevation height
*/
elevation?: ElevationHeight;
/**
* The children of the component
*/
children?: React.ReactNode;
}