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

0.0.13 • Public • Published

@templatez/react

This is a template of react.

Install

npm install @templatez/react

Usage

import { SimpleToggle } from "@templatez/react";

const App = () => {
    return (
        <div>
            <SimpleToggle
                size={20}
                leftData={{ id: "1", name: "left" }}
                rightData={{ id: "2", name: "right" }}
                onClick={(e: any) => console.log(e)}
            />
        </div>
    );
};

Package Sidebar

Install

npm i @templatez/react

Weekly Downloads

1

Version

0.0.13

License

ISC

Unpacked Size

1.83 MB

Total Files

66

Last publish

Collaborators

  • h-e