|
|
@@ -74,13 +74,21 @@ const MarkdownViewerPage = () => {
|
|
|
>
|
|
|
{localize("markdownViewer-desc")}
|
|
|
</Text>
|
|
|
+ <TextAreaInput
|
|
|
+ placeholder={localize("markdownViewer-enterContent")}
|
|
|
+ title={localize("markdownViewer-contentLabel")}
|
|
|
+ spreadBehaviour="stretch"
|
|
|
+ onChangeText={setContent}
|
|
|
+ isUpdateOnRealtime={true}
|
|
|
+ value={content}
|
|
|
+ />
|
|
|
<View
|
|
|
style={[
|
|
|
stylesheet.paddedMarginContainer,
|
|
|
{
|
|
|
borderColor: colors.content.border.subtle,
|
|
|
- marginBottom: spaces.spacingMd,
|
|
|
borderRadius: radiuses.form,
|
|
|
+ marginTop: spaces.spacingMd,
|
|
|
borderWidth: borders.line,
|
|
|
padding: spaces.spacingMd
|
|
|
}
|
|
|
@@ -90,17 +98,6 @@ const MarkdownViewerPage = () => {
|
|
|
content={content}
|
|
|
/>
|
|
|
</View>
|
|
|
- <TextAreaInput
|
|
|
- placeholder={localize("markdownViewer-enterContent")}
|
|
|
- title={localize("markdownViewer-contentLabel")}
|
|
|
- style={{
|
|
|
- marginBottom: spaces.spacingMd
|
|
|
- }}
|
|
|
- spreadBehaviour="stretch"
|
|
|
- onChangeText={setContent}
|
|
|
- isUpdateOnRealtime={true}
|
|
|
- value={content}
|
|
|
- />
|
|
|
</View>
|
|
|
</PageContainer>;
|
|
|
};
|