0.0.4 • Published 3 years ago

react-component-library-itsector-workshop v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Package built for a workshop presentation for ITSector

Made by Alexandre Gonçalves and Humberto Vieira Check the Repository !

Installation

   npm i react-component-library-itsector-workshop

Usage

import { useState } from 'react';
import { ButtonComponent } from 'react-component-library-itsector-workshop';

function App() {
	const [count, setCount] = useState(0);

	return (
		<>
			<ButtonComponent
				type="primary"
				onClick={() => setCount((count) => count + 1)}
				label={`count is ${count}`}
			/>
		</>
	);
}

export default App;
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago