Manual Reference Source
import KeyIndicator from 'cloudify-stage/basic/KeyIndicator.js'
public class | source

KeyIndicator

Extends:

react~Component → KeyIndicator

KeyIndicator - a simple component showing a counter along with an icon

List of available icons can be found here

Access

Stage.Basic.KeyIndicator

Usage

KeyIndicator (User Stars)

KeyIndicator

<KeyIndicator title="User Stars" icon="star" number={data.stars}/>

Static Member Summary

Static Public Members
public static

Static Public Members

public static propTypes: * source

Properties:

NameTypeAttributeDescription
title string

Label appearing at the bottom of the component

icon string

Name of the icon to be displayed

number number

Numerical value to be displayed