New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@reactivers/generic-ui

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactivers/generic-ui

- This package is not a complete ui components. They are basic ui components that need to be customized to use. - Also it has some simple useful components.

latest
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

generic-ui

  • This package is not a complete ui components. They are basic ui components that need to be customized to use.
  • Also it has some simple useful components.

Usage

...
import {Card, appStyles, Mapper, Show} from "@reactivers/generic-ui"

const Sample = (props) => {
    const items = [{name: "Item 1"}, {name: "Item 2"}, {name: "Hide Me", show: false}];
    return (
        <div style={{...appStyles.center}}>
            <Card>
                <Mapper items={items}>
                    <ItemRenderer/>
                </Mapper>
            </Card>
        </div>
    )
}

const ItemRenderer = (props) => {
    const {name, show} = props;
    return (
        <div>
            <Show condition={show}>
                {name}
            </Show>
        </div>
    )
}

FAQs

Package last updated on 06 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts