Skip to content

Commit

Permalink
fix: missing Markdown definitions for Instructs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Nov 16, 2024
1 parent e31fc37 commit 12e1cd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Instruct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { Stack } from 'expo-router'
import { useState } from 'react'
import { View, SafeAreaView, TouchableOpacity, StyleSheet, ScrollView, Text } from 'react-native'
import { Dropdown } from 'react-native-element-dropdown'
//@ts-expect-error
import Markdown from 'react-native-markdown-package'
import Markdown from 'react-native-markdown-display'

const Instruct = () => {
const { currentInstruct, loadInstruct, setCurrentInstruct } = Instructs.useInstruct(
Expand Down Expand Up @@ -396,8 +395,9 @@ const Instruct = () => {
</Text>
<View style={styles.exampleContainer}>
<Markdown
rules={{ rules: MarkdownStyle.Rules }}
styles={MarkdownStyle.Format}>
markdownit={MarkdownStyle.Rules}
rules={MarkdownStyle.RenderRules}
style={MarkdownStyle.Styles}>
{
[
'*<No Formatting>*',
Expand Down

0 comments on commit 12e1cd5

Please sign in to comment.