Skip to content

Commit 2bedebc

Browse files
committed
mapbuffer .h configs
1 parent e7ded75 commit 2bedebc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ReactCommon/react/renderer/components/view/AccessibilityPropsMapBuffer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ constexpr MapBuffer::Key AP_ACCESSIBILITY_VALUE = 7;
2424
constexpr MapBuffer::Key AP_ACCESSIBLE = 8;
2525
constexpr MapBuffer::Key AP_IMPORTANT_FOR_ACCESSIBILITY = 19;
2626
constexpr MapBuffer::Key AP_ACCESSIBILITY_UNIT = 47;
27+
constexpr MapBuffer::Key AP_ACCESSIBILITY_HOURS = 48;
28+
constexpr MapBuffer::Key AP_ACCESSIBILITY_MINUTES = 49;
2729

2830
// AccessibilityAction values
2931
constexpr MapBuffer::Key ACCESSIBILITY_ACTION_NAME = 0;

ReactCommon/react/renderer/components/view/accessibilityPropsConversions.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ inline void fromRawValue(
191191
*/
192192
}
193193

194+
inline void fromRawValue(
195+
const PropsParserContext &context,
196+
const RawValue &value,
197+
int &result) {
198+
result = 9;
199+
}
200+
194201
inline std::string toString(
195202
const AccessibilityUnit &accessibilityUnit) {
196203
return "default string";

0 commit comments

Comments
 (0)