We The Curious Developers

We The Curious Developers

  • Guidelines
  • CuriOs SDK
  • Software
  • Films
  • Art
  • Audio
  • Photography

›Components

Getting Started

  • Getting Started Overview
  • ClI
  • Working With Us

Technical

  • Hardware

Frames

  • Frames Overview
  • Info Panel
  • Media Browser
  • Touch to Start

Components

  • Components Overview
  • Box
  • Button
  • Card
  • Checkbox
  • Header
  • Heading
  • Hero
  • Icon
  • Text Input
  • Markdown Viewer
  • Modal
  • WTCProvider
  • Table
  • Text
  • Video Player
  • Calendar
  • Dropdown
  • InputAutoComplete
  • Radio
  • Sidebar
  • Slider
  • Notification
  • IconNavButton
  • IconSideBar
  • List
  • Tab
  • Title
  • Toggle
  • Value

Value component

A Value component

Install

npm i @wethecurious/wtc-ui-library

Usage

Import it into your project

import { Text } from '@wethecurious/wtc-ui-library'
<Value
  value={7}
  icon={IconType.LeftArrow}
  trendIcon={IconType.RightArrow}
/>

Props

PropDescriptionDefault
labelDisplay label
valueNumerical value to display0
iconIcon for the left side of value
unitDisplayed value measurement unit
trendIconTrend icon for the value
isIconLastDisplays Icon after the value if truefalse
Last updated on 5/8/2019
← Toggle
  • Install
  • Usage
    • Props
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Copyright © 2020 We The Curious