File size: 561 Bytes
67edfce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import ReactDOM from 'react-dom';
import {Editor, EditorState} from 'draft-js';
import 'draft-js/dist/Draft.css';
import React from 'react';
export default function App() {
return (
<TextEditor />
);
}
const colorScheme = Appearance.getColorScheme()
const styles = StyleSheet.create({
container: {
flex: 1,
color:'black',
colorScheme:'dark',
backgroundColor: 'black',
alignItems: 'center',
justifyContent: 'center',
},
});
|