JSPM

@thiva/react-components

2.2.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q35276F
    • License Apache-2.0

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

    Package Exports

    • @thiva/react-components
    • @thiva/react-components/dist/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thiva/react-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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.