1.1.48 • Published 3 years ago

react-componentsss v1.1.48

Weekly downloads
2
License
Apache-2.0
Repository
-
Last release
3 years ago

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. "@wso2is/react-components": "<VERSION>"

Run Storybook

Execute the following commands to run the storybook dev server.

# Make sure you are inside the `react-components` folder.

cd modules/react-components

# Start the dev server

npm start

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 "@wso2is/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.