1.1.1 • Published 6 years ago

@mandala-ui/outline-dot v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Mandala UI OutlineDot Component

Mandala is a React component library that utilizes a declarative CSS library for styling.

Installation

Check the MonoRepo README for installation.

Description

A header for the top of lists that matches the style and props

Usage

if using the whole library:

import { OutlineDot } from 'mandala';

if only using this component:

import OutlineDot from '@mandala-ui/outline-dot';

Props

  • borderColor - the color of the border around the dot
  • borderWidth - the width of the border around the dot
  • color - the color of the dot
  • innerBorderWidth - the width of the inner section between the dot and border
  • innerColor - the color of the inner section of the outlined dot
propNamepropTypedefaultValueisRequired
borderColorstringnull-
borderWidthnumberfalse-
colorstring'white'-
innerBorderWidthnumberfalse-
innerColorstring0-
largebooleanfalse-

TODO:

  • rename to Dot, use outline as a prop
  • infer lined from lineColor prop existence

mandala-bottom