Shape
Overflow child with hidden child.
version
5.0.0-alpha.32
install
yarn add @welcome-ui/shape
usage
import { Shape } from '@welcome-ui/shape'
Usage #
Add w
and h
to set size of shape.
Border radius #
Add borderRadius
from theme or what you want.
Shape #
Set shape
prop to square
…
… or set it to circle
.
also, using shape
with unequal sizes will match the biggest value between width / height.
Properties #
Name | Type(s) | Default | Required |
---|---|---|---|
shape | "circle" "square" |