2.0.0-rc.4 • Published 9 months ago

@asphalt-react/crater v2.0.0-rc.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
9 months ago

Crater

npm

Crater is a container to wrap other components like form elements. Crater comes in three sizes small, medium & large. You can remove the spacing inside Crater as well.

Usage

import { Crater } from "@asphalt-react/crater"

<Crater>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</Crater>

Props

children

React node to render inside the Crater.

typerequireddefault
nodetrueN/A

bezel

Adds padding on all sides.

typerequireddefault
boolfalsetrue

size

Controls size of Crater. Possible values are "s", "m", "l" for small, medium & large respectively.

typerequireddefault
enumfalse"m"