0.0.1-beta.5 • Published 1 year ago

@hudoro/toggle v0.0.1-beta.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Hudoro toggle

Hudoro toggle is a strict and customizable toggle component for web development projects, designed for simplicity and adherence to strict design guidelines.

Screenshots

App Screenshot

Package instalation

Instal package using pnpm

  pnpm add @hudoro/toggle

Instal package using yarn

  yarn add @hudoro/toggle

Instal package using npm

  npm i @hudoro/toggle

Usage/Examples

import React from "react";
import {Toggle} from "@hudoro/toggle";
import ReactDOM from "react-dom/client";

const App = () => (
  <div>
    <Toggle size="lg" />
    <Toggle size="lg" />
  </div>
);

ReactDOM.createRoot(document.getElementById("app")!).render(<App />);

Props @hudoro/toggle

Props that you can pass to <Toggle {...props} />

Prop NameValuerequired
size"xs" / "sm" / "md" / "lg""none"false
0.0.1-beta.5

1 year ago

0.0.1-beta.4

1 year ago

0.0.1-beta.3

1 year ago

0.0.1-beta.2

1 year ago

0.0.1-beta.1

1 year ago

0.0.1-beta.0

1 year ago