@thiva/react-components
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

WSO2 Identity Server - React Component Library

A React component library for WSO2 Identity Server frontend apps implementing Semantic UI Framework.

Storybook

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.

Package Sidebar

Install

npm i @thiva/react-components

Weekly Downloads

749

Version

2.2.3

License

Apache-2.0

Unpacked Size

3.84 MB

Total Files

523

Last publish

Collaborators

  • thiva