@ifrc-go/ui
v1.2.1
Published
IFRC-GO UI Components Library
Downloads
253
Readme
IFRC GO UI
IFRC GO UI is a React components library for the IFRC GO platform and its associated initiatives.
Built with
Installation
Install the @ifrc-go/ui
package and its peer dependencies.
# using yarn
yarn add @ifrc-go/ui
# using npm
npm install @ifrc-go/ui
Usage
import { Button } from '@ifrc-go/ui';
function Example() {
const handleButtonClick = () => {
console.warn('button clicked');
};
return (
<Button
name="button"
onClick={handleButtonClick}
variant="tertiary"
>
Button
</Button>
);
}
Changelog
The changelog file summarizes the changes made to the library across different releases. The changelog is regularly updated to reflect what's changed in each new release.