@grupalia/rn-ui-kit 0.14.1 → 0.15.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/lib/commonjs/components/BaseBottomSheetModal.js +1 -2
- package/lib/commonjs/components/BaseBottomSheetModal.js.map +1 -1
- package/lib/commonjs/components/BaseConfirmationModal.js +3 -1
- package/lib/commonjs/components/BaseConfirmationModal.js.map +1 -1
- package/lib/commonjs/components/BaseDateInput.js +3 -1
- package/lib/commonjs/components/BaseDateInput.js.map +1 -1
- package/lib/commonjs/components/BaseIconBox.js +29 -18
- package/lib/commonjs/components/BaseIconBox.js.map +1 -1
- package/lib/commonjs/components/BaseSpinner.js +3 -1
- package/lib/commonjs/components/BaseSpinner.js.map +1 -1
- package/lib/commonjs/components/BaseSwitch.js +2 -1
- package/lib/commonjs/components/BaseSwitch.js.map +1 -1
- package/lib/commonjs/components/FormikDateInput.js +3 -1
- package/lib/commonjs/components/FormikDateInput.js.map +1 -1
- package/lib/commonjs/components/FormikRadioGroup.js +3 -1
- package/lib/commonjs/components/FormikRadioGroup.js.map +1 -1
- package/lib/module/components/BaseBottomSheetModal.js +1 -2
- package/lib/module/components/BaseBottomSheetModal.js.map +1 -1
- package/lib/module/components/BaseConfirmationModal.js +3 -1
- package/lib/module/components/BaseConfirmationModal.js.map +1 -1
- package/lib/module/components/BaseDateInput.js +3 -1
- package/lib/module/components/BaseDateInput.js.map +1 -1
- package/lib/module/components/BaseIconBox.js +28 -18
- package/lib/module/components/BaseIconBox.js.map +1 -1
- package/lib/module/components/BaseSpinner.js +3 -1
- package/lib/module/components/BaseSpinner.js.map +1 -1
- package/lib/module/components/BaseSwitch.js +2 -1
- package/lib/module/components/BaseSwitch.js.map +1 -1
- package/lib/module/components/FormikDateInput.js +3 -1
- package/lib/module/components/FormikDateInput.js.map +1 -1
- package/lib/module/components/FormikRadioGroup.js +3 -1
- package/lib/module/components/FormikRadioGroup.js.map +1 -1
- package/lib/typescript/commonjs/components/BaseBottomSheetModal.d.ts +2 -2
- package/lib/typescript/commonjs/components/BaseBottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/BaseConfirmationModal.d.ts +2 -2
- package/lib/typescript/commonjs/components/BaseConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/BaseDateInput.d.ts +7 -2
- package/lib/typescript/commonjs/components/BaseDateInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/BaseIconBox.d.ts +9 -4
- package/lib/typescript/commonjs/components/BaseIconBox.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/BaseSpinner.d.ts +2 -2
- package/lib/typescript/commonjs/components/BaseSpinner.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/BaseSwitch.d.ts +7 -2
- package/lib/typescript/commonjs/components/BaseSwitch.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/FormikDateInput.d.ts +7 -2
- package/lib/typescript/commonjs/components/FormikDateInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/FormikRadioGroup.d.ts +7 -1
- package/lib/typescript/commonjs/components/FormikRadioGroup.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseBottomSheetModal.d.ts +2 -2
- package/lib/typescript/module/components/BaseBottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseConfirmationModal.d.ts +2 -2
- package/lib/typescript/module/components/BaseConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseDateInput.d.ts +7 -2
- package/lib/typescript/module/components/BaseDateInput.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseIconBox.d.ts +9 -4
- package/lib/typescript/module/components/BaseIconBox.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseSpinner.d.ts +2 -2
- package/lib/typescript/module/components/BaseSpinner.d.ts.map +1 -1
- package/lib/typescript/module/components/BaseSwitch.d.ts +7 -2
- package/lib/typescript/module/components/BaseSwitch.d.ts.map +1 -1
- package/lib/typescript/module/components/FormikDateInput.d.ts +7 -2
- package/lib/typescript/module/components/FormikDateInput.d.ts.map +1 -1
- package/lib/typescript/module/components/FormikRadioGroup.d.ts +7 -1
- package/lib/typescript/module/components/FormikRadioGroup.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/BaseBottomSheetModal.tsx +1 -2
- package/src/components/BaseConfirmationModal.tsx +5 -1
- package/src/components/BaseDateInput.tsx +4 -1
- package/src/components/BaseIconBox.tsx +31 -20
- package/src/components/BaseSpinner.tsx +4 -1
- package/src/components/BaseSwitch.tsx +2 -1
- package/src/components/FormikDateInput.tsx +4 -1
- package/src/components/FormikRadioGroup.tsx +4 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useField } from 'formik';
|
|
2
|
+
import { styled } from 'nativewind';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
|
|
4
5
|
import BaseRadioGroup, { BaseRadioGroupProps, RadioOption } from './BaseRadioGroup';
|
|
@@ -8,7 +9,7 @@ export interface FormikRadioGroupProps extends Omit<BaseRadioGroupProps, 'value'
|
|
|
8
9
|
options: RadioOption[];
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
function FormikRadioGroup({
|
|
12
13
|
name,
|
|
13
14
|
options,
|
|
14
15
|
...props
|
|
@@ -30,3 +31,5 @@ export default function FormikRadioGroup({
|
|
|
30
31
|
/>
|
|
31
32
|
);
|
|
32
33
|
}
|
|
34
|
+
|
|
35
|
+
export default styled(FormikRadioGroup);
|