6.9.2 • Published 4 years ago

@zendeskgarden/react-radios v6.9.2

Weekly downloads
380
License
Apache-2.0
Repository
github
Last release
4 years ago

@zendeskgarden/react-radios npm version

This package includes components relating to radio buttons in the Garden Design System.

DEPRECATION WARNING

This package has been deprecated in favor of the API provided in the @zendeskgarden/react-forms package.

This package will stop receiving updates in a future major release.

Installation

npm install @zendeskgarden/react-radios

# Peer Dependencies - Also Required
npm install react react-dom prop-types styled-components @zendeskgarden/react-theming

Usage

Our Radio component is a simple abstraction around the native <input type="radio" /> element.

/**
 * Include radio styling at the root of your application
 */
import '@zendeskgarden/react-radios/dist/styles.css';

import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Radio, Label } from '@zendeskgarden/react-radios';

/**
 * Place a `ThemeProvider` at the root of your React application
 */
<ThemeProvider>
  <form>
    <Radio name="options" value="option-1">
      <Label>Option 1</Label>
    </Radio>
    <Radio name="options" value="option-2" disabled>
      <Label>Disabled Option</Label>
    </Radio>
    <Radio name="options" value="option-3">
      <Label>Option 3</Label>
    </Radio>
  </form>
</ThemeProvider>;
6.9.2

4 years ago

6.7.1

5 years ago

6.5.0

5 years ago

6.4.4

5 years ago

6.3.1

5 years ago

6.2.0

5 years ago

6.0.1

5 years ago

6.0.0

5 years ago

3.5.9

5 years ago

3.5.8

5 years ago

3.5.7

5 years ago

3.5.6

5 years ago

3.5.5

5 years ago

3.5.4

5 years ago

3.5.3

5 years ago

3.5.2

5 years ago

3.5.1

5 years ago

3.5.0

5 years ago

3.4.8

5 years ago

3.4.7

5 years ago

3.4.6

5 years ago

3.4.5

5 years ago

3.4.4

5 years ago

3.4.3

5 years ago

3.4.2

6 years ago

3.4.1

6 years ago

3.4.0

6 years ago

3.3.6

6 years ago

3.3.5

6 years ago

3.3.4

6 years ago

3.3.3

6 years ago

3.3.2

6 years ago

3.3.0

6 years ago

3.2.14

6 years ago

3.2.13

6 years ago

3.2.12

6 years ago

3.2.11

6 years ago

3.2.10

6 years ago

3.2.9

6 years ago

3.2.8

6 years ago

3.2.7

6 years ago

3.2.6

6 years ago

3.2.5

6 years ago

3.2.4

6 years ago

3.2.3

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago