Skip to content

Commit 8cc2fe8

Browse files
committed
1.0.1
* Exporting flow types from Radio and Checkbox
1 parent 87946a1 commit 8cc2fe8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pretty-checkbox-react",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Quickly integrate pretty checkbox Components (checkbox, switch, radio) with React",
55
"keywords": [
66
"Pretty",

src/components/Checkbox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getBaseClassName } from '../utils/utils';
77
import Input, { PREFIX } from './Input';
88
import type { InputProps } from './Input';
99

10-
type CheckboxProps = {
10+
export type CheckboxProps = {
1111
...InputProps,
1212

1313
/**

src/components/Radio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getBaseClassName } from '../utils/utils';
77
import Input, { PREFIX } from './Input';
88
import type { InputProps } from './Input';
99

10-
type RadioProps = {
10+
export type RadioProps = {
1111
...InputProps,
1212

1313
/**

0 commit comments

Comments
 (0)