@thiva/react-components
v2.2.3
Published
A React component library for WSO2 Identity Server frontend apps implementing Semantic UI Framework
Downloads
15
Maintainers
Readme
WSO2 Identity Server - React Component Library
A React component library for WSO2 Identity Server frontend apps implementing Semantic UI Framework.
Install
Add following dependency in your package.json file.
"@thiva/react-components": "<VERSION>"
Run Storybook
Execute the following command from the project root directory to run the Storybook dev server.
pnpm nx run react-components:storybook
Once the dev server is fired up, it'll automatically open up a new tab. If not, navigate to http://localhost:6006 manually in your browser.
Usage
Import the relevant component.
import { UserAvatar } from "@thiva/react-components";
Use the component along with your other react components.
<UserAvatar
spaced="right"
size="tiny"
image="https://avatars3.githubusercontent.com/u/25959096?s=460&v=4"
/>
License
Licenses this source under the Apache License, Version 2.0 (LICENSE), You may not use this file except in compliance with the License.