woocommerce/plugins/woocommerce-admin/client/components/count
Justin Shreve 893298aa5d Update Agenda widget to use Count component (https://github.com/woocommerce/woocommerce-admin/pull/81)
* Update Agenda widget to use Count component

* Move font-weight rule to count component
2018-05-24 11:45:32 -04:00
..
README.md Sidebar: Add Tabs 2018-05-23 12:42:26 +12:00
index.js Sidebar: Add Tabs 2018-05-23 12:42:26 +12:00
style.scss Update Agenda widget to use Count component (https://github.com/woocommerce/woocommerce-admin/pull/81) 2018-05-24 11:45:32 -04:00

README.md

Count

Display a number with a styled border

Usage

import Count from 'components/count';

export default function myCount() {
	return (
		<Count count={ 33 } />
	);
}

Props

  • Marks required props
Name Type Default Description
count* number none Value of the number to be displayed