@hudoro/radio
v0.0.1-beta.5
Published
radio component for Hudoro UI
Downloads
1,130
Readme
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/radio
Instal package using yarn
yarn add @hudoro/radio
Instal package using npm
npm i @hudoro/radio
Usage/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 |