1.0.8 • Published 6 years ago

mkm-component-toolbar v1.0.8

Weekly downloads
24
License
ISC
Repository
-
Last release
6 years ago

Introduction

Componet to display a toolbar.

alt text

Getting Started

Install via npm

npm install mkm-component-toolbar

Build and Test

Run build

npm run build

Run tests

npm test

Usage

Example usage:

 render() {
	let toolbar = {
		leftButtons: [
			{
				name: 'Left aligned button',
				clicked:  () => {},
				iconClass: 'demo-pli-add',
				class: 'btn btn-icon btn-success',
				size: 'sm'
			}
		],
		rightButtons: [
			{
				name: 'Right aligned button',
				clicked: () => {},
				class: 'btn btn-icon btn-primary',
				size: 'sm'
			},
		]
	};		
	return (
	  <ToolBar leftButtons={toolbar.leftButtons} rightButtons={toolbar.rightButtons} /> 
	);
}
1.0.8

6 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago