property-practice-ui 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { Label, RadioItem } from '../../atoms';
|
|
|
3
3
|
import { spaces } from '../../tokens/spaces';
|
|
4
4
|
import { Option } from '../../types';
|
|
5
5
|
|
|
6
|
-
type RadioGroupProps<T extends string | number> = {
|
|
6
|
+
type RadioGroupProps<T extends string | number | boolean> = {
|
|
7
7
|
label?: string;
|
|
8
8
|
options: readonly Option<T>[];
|
|
9
9
|
value: T;
|
|
@@ -25,7 +25,7 @@ const LabelContainer = styled.div`
|
|
|
25
25
|
padding-left: ${spaces[1]};
|
|
26
26
|
`;
|
|
27
27
|
|
|
28
|
-
export const RadioGroup = <T extends string | number>({
|
|
28
|
+
export const RadioGroup = <T extends string | number | boolean>({
|
|
29
29
|
label,
|
|
30
30
|
options,
|
|
31
31
|
value,
|