dhre-ui-kit 0.0.131 → 0.0.134
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 -1
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -486,11 +486,12 @@ declare const _default$a: (props: {
|
|
|
486
486
|
interface OurOfficesButtonProps$1 {
|
|
487
487
|
rightIcon?: ReactElement<SvgProps>;
|
|
488
488
|
onPress: () => void;
|
|
489
|
-
statusImage?: ReactElement<SvgProps
|
|
489
|
+
statusImage?: ReactElement<SvgProps> | null;
|
|
490
490
|
title: string;
|
|
491
491
|
subTitle?: string;
|
|
492
492
|
containterStyle?: ViewStyle;
|
|
493
493
|
time?: string;
|
|
494
|
+
subTitleStyle?: TextStyle;
|
|
494
495
|
}
|
|
495
496
|
declare const _default$9: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
|
|
496
497
|
|
package/lib/index.js
CHANGED
|
@@ -2456,7 +2456,8 @@ const Topic = ({
|
|
|
2456
2456
|
onPress,
|
|
2457
2457
|
title,
|
|
2458
2458
|
subTitle,
|
|
2459
|
-
containterStyle
|
|
2459
|
+
containterStyle,
|
|
2460
|
+
subTitleStyle
|
|
2460
2461
|
}) => {
|
|
2461
2462
|
const { theme } = useTheme();
|
|
2462
2463
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
@@ -2474,7 +2475,7 @@ const Topic = ({
|
|
|
2474
2475
|
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$h.textContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$h.paymentView }, statusImage && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, null, React__default["default"].cloneElement(statusImage)), subTitle && /* @__PURE__ */ React__default["default"].createElement(
|
|
2475
2476
|
CustomText$1,
|
|
2476
2477
|
{
|
|
2477
|
-
style: styles$h.subTitle,
|
|
2478
|
+
style: [styles$h.subTitle, subTitleStyle],
|
|
2478
2479
|
text: subTitle,
|
|
2479
2480
|
variant: FontStyle.L2_REGULAR,
|
|
2480
2481
|
textColor: Theme.CONTENT_PRIMARY
|
|
@@ -2483,7 +2484,7 @@ const Topic = ({
|
|
|
2483
2484
|
CustomText$1,
|
|
2484
2485
|
{
|
|
2485
2486
|
text: title,
|
|
2486
|
-
variant: FontStyle.
|
|
2487
|
+
variant: FontStyle.L1_REGULAR,
|
|
2487
2488
|
textColor: Theme.CONTENT_PRIMARY
|
|
2488
2489
|
}
|
|
2489
2490
|
))
|