Socket
Socket
Sign inDemoInstall

@n3/react-radio-group

Package Overview
Dependencies
42
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @n3/react-radio-group

Radio button group component for react applications based on @n3/kit


Version published
Weekly downloads
13
increased by116.67%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

@n3/react-radio-group

Группа радиокнопок для приложений на базе @n3/kit.

import RadioGroup from '@n3/react-radio-group';

Props

НазваниеОбязательностьТипЗначение по умолчаниюОписание
inlinebooleanfalseинлайновый вывод
namestring""name каждого html-элемента input
valueReactTextnullзначение выбранной опции
disabledbooleanfalseвыключена ли данная группа радио
options+Record<string, any>[]список опций данной группы радио
valueKeystring"value"ключ, по которому хранятся значения в объектах options
labelKeystring"label"ключ, по которому хранятся заголовки в объектах options
onChange(value: ReactText) => void"(): void => {}"хэндлер изменения значения

FAQs

Last updated on 26 Jan 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc