UNPKG

rmwc

Version:

A thin React wrapper for Material Design (Web) Components

37 lines (36 loc) 1.28 kB
import * as React from 'react'; declare type ShapeContainerPropsT = { /** The background fill color for the corner */ backgroundColor?: string; /** The corner length. Will be used for all sides that are left unset. */ corner?: number | string; /** The top left corner length.*/ topLeftCorner?: number | string; /** The top right corner length.*/ topRightCorner?: number | string; /** The bottom right corner length.*/ bottomRightCorner?: number | string; /** The bottom left corner length.*/ bottomLeftCorner?: number | string; /** Sets the width of an outlined corner.*/ outlineWidth?: number | string; /** Sets the color outlined corner.*/ outlineColor?: string; /** Sets the border style of an outlined corner.*/ outlineStyle?: string; /** Custom className to add */ className?: string; /** Children to render. */ children?: React.ReactNode; }; /** A container for shaping other components. */ export declare class ShapeContainer extends React.Component<ShapeContainerPropsT> { static displayName: string; static defaultProps: { backgroundColor: string; }; generatedId: string; constructor(props: ShapeContainerPropsT); render(): JSX.Element; } export {};