@expensify/react-native-live-markdown 0.1.325 → 0.1.326
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.
|
@@ -26,9 +26,9 @@ public:
|
|
|
26
26
|
MarkdownTextInputDecoratorShadowNode(ShadowNode const &sourceShadowNode,
|
|
27
27
|
ShadowNodeFragment const &fragment);
|
|
28
28
|
|
|
29
|
-
void appendChild(const
|
|
29
|
+
void appendChild(const std::shared_ptr<const ShadowNode> &child) override;
|
|
30
30
|
void replaceChild(const ShadowNode &oldChild,
|
|
31
|
-
const
|
|
31
|
+
const std::shared_ptr<const ShadowNode> &newChild,
|
|
32
32
|
size_t suggestedIndex = SIZE_MAX) override;
|
|
33
33
|
void layout(LayoutContext layoutContext) override;
|
|
34
34
|
Size
|
|
@@ -93,14 +93,14 @@ void MarkdownTextInputDecoratorShadowNode::overwriteMeasureCallbackConnector() {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
void MarkdownTextInputDecoratorShadowNode::appendChild(
|
|
96
|
-
const
|
|
96
|
+
const std::shared_ptr<const ShadowNode> &child) {
|
|
97
97
|
YogaLayoutableShadowNode::appendChild(child);
|
|
98
98
|
|
|
99
99
|
overwriteMeasureCallbackConnector();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
void MarkdownTextInputDecoratorShadowNode::replaceChild(
|
|
103
|
-
const ShadowNode &oldChild, const
|
|
103
|
+
const ShadowNode &oldChild, const std::shared_ptr<const ShadowNode> &newChild,
|
|
104
104
|
size_t suggestedIndex) {
|
|
105
105
|
YogaLayoutableShadowNode::replaceChild(oldChild, newChild, suggestedIndex);
|
|
106
106
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expensify/react-native-live-markdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.326",
|
|
4
4
|
"description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|