@fenderdigital/react-diamond
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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
propName propType defaultValue isRequired
color string light-gray -
children node null -
dimensions string { width: '1rem', height: '1rem' } -
opacity string 100 -

Development

Check the Monorepo README for development documentation.

Readme

Keywords

none

Package Sidebar

Install

npm i @fenderdigital/react-diamond

Weekly Downloads

8

Version

2.0.0

License

UNLICENSED

Unpacked Size

64.2 kB

Total Files

10

Last publish

Collaborators

  • stevenhuynh
  • markv242
  • coopercodecomposer
  • sherbert
  • jcuanan
  • derduher
  • philipyun
  • theloopla
  • jemnon