dhre-ui-kit 0.0.211 → 0.0.213
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/index.d.ts +1 -0
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2222,7 +2222,7 @@ const styles$j = StyleSheet.create({
|
|
|
2222
2222
|
flexDirection: "row",
|
|
2223
2223
|
justifyContent: "space-between",
|
|
2224
2224
|
paddingHorizontal: horizontalScale(16),
|
|
2225
|
-
paddingTop: verticalScale(
|
|
2225
|
+
paddingTop: Platform.OS === "ios" ? verticalScale(60) : verticalScale(44),
|
|
2226
2226
|
paddingBottom: verticalScale(16),
|
|
2227
2227
|
borderBottomWidth: 1
|
|
2228
2228
|
},
|
|
@@ -4712,7 +4712,7 @@ const styles = StyleSheet.create({
|
|
|
4712
4712
|
}
|
|
4713
4713
|
});
|
|
4714
4714
|
|
|
4715
|
-
const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle }) => {
|
|
4715
|
+
const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionContainerStyle }) => {
|
|
4716
4716
|
const [selectedOption, setSelectedOption] = useState(data[0]?.value);
|
|
4717
4717
|
const handleSelect = (item) => {
|
|
4718
4718
|
setSelectedOption(item.value);
|
|
@@ -4722,7 +4722,7 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle }) => {
|
|
|
4722
4722
|
TouchableOpacity,
|
|
4723
4723
|
{
|
|
4724
4724
|
key: item.value,
|
|
4725
|
-
style: styles.optionContainer,
|
|
4725
|
+
style: [styles.optionContainer, optionContainerStyle],
|
|
4726
4726
|
onPress: () => handleSelect(item)
|
|
4727
4727
|
},
|
|
4728
4728
|
/* @__PURE__ */ React.createElement(
|