1.0.8 • Published 5 years ago

mkm-component-toolbar v1.0.8

Weekly downloads
24
License
ISC
Repository
-
Last release
5 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

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago