2.0.0 • Published 4 years ago

@fenderdigital/react-diamond v2.0.0

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
4 years ago

Diamond for Fender React UI Kit

Description

Renders a diamond atom.

Installation

yarn install @fenderdigital/react-diamond --save

Usage

import Diamond from '@fenderdigital/react-diamond';

Props

  • color - bg color of the diamond
  • children - renders any children elements, if present
  • dimensions - dimensions added to the in-line style attribute
  • opacity - opacity level
propNamepropTypedefaultValueisRequired
colorstringlight-gray-
childrennodenull-
dimensionsstring{ width: '1rem', height: '1rem' }-
opacitystring100-

Development

Check the Monorepo README for development documentation.

2.0.0

4 years ago

1.0.0

5 years ago