0.0.1 • Published 1 year ago
@tuv-indo/radio v0.0.1
Hudoro radio
Hudoro radio is a strict and customizable radio component for web development projects, designed for simplicity and adherence to strict design guidelines.
Screenshots

Package instalation
Instal package using pnpm
pnpm add @hudoro/radioInstal package using yarn
yarn add @hudoro/radioInstal package using npm
npm i @hudoro/radioUsage/Examples
import React from "react";
import {Radio} from "@hudoro/radio";
import ReactDOM from "react-dom/client";
const App = () => (
<div>
<h1>Component test</h1>
<Radio label="hello " sizes="sm" />
<Radio label="Hay " sizes="sm" />
</div>
);
ReactDOM.createRoot(document.getElementById("app")!).render(<App />);Props @hudoro/radio
Props that you can pass to <Radio {...props} />
| Prop Name | Value | required |
|---|---|---|
| size | "sm" / "md" / "lg" | false |
| label | string | false |
0.0.1
1 year ago