dhre-ui-kit 0.0.320 → 0.0.322
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 +2 -0
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1148,6 +1148,8 @@ interface PropertyDetailsProps {
|
|
|
1148
1148
|
btnIcon?: React.ReactElement;
|
|
1149
1149
|
containerStyle?: ViewStyle;
|
|
1150
1150
|
onRightIconPress: () => void;
|
|
1151
|
+
subTitleStyle?: ViewStyle;
|
|
1152
|
+
propertyNumberStyle?: ViewStyle;
|
|
1151
1153
|
}
|
|
1152
1154
|
|
|
1153
1155
|
declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
|
package/lib/index.js
CHANGED
|
@@ -4918,6 +4918,8 @@ const PropertyDetails = ({
|
|
|
4918
4918
|
hintIcon,
|
|
4919
4919
|
btnIcon,
|
|
4920
4920
|
containerStyle,
|
|
4921
|
+
subTitleStyle,
|
|
4922
|
+
propertyNumberStyle,
|
|
4921
4923
|
onRightIconPress
|
|
4922
4924
|
}) => {
|
|
4923
4925
|
const { theme } = useTheme();
|
|
@@ -4947,9 +4949,9 @@ const PropertyDetails = ({
|
|
|
4947
4949
|
{
|
|
4948
4950
|
text: subTitle,
|
|
4949
4951
|
variant: FontStyle.L1_REGULAR,
|
|
4950
|
-
style: { color: theme.CONTENT_PRIMARY }
|
|
4952
|
+
style: [{ color: theme.CONTENT_PRIMARY }, subTitleStyle]
|
|
4951
4953
|
}
|
|
4952
|
-
), propertyNumber && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$1.propertyNumber }, /* @__PURE__ */ React__default["default"].createElement(
|
|
4954
|
+
), propertyNumber && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$1.propertyNumber, propertyNumberStyle] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
4953
4955
|
CustomTypography,
|
|
4954
4956
|
{
|
|
4955
4957
|
text: propertyNumber,
|