Skip to content

Commit

Permalink
fix: git ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
17Amir17 committed Jan 26, 2024
1 parent fb914fa commit 2a07884
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ DerivedData
*.ipa
*.xcuserstate
project.xcworkspace
example/ios/.xcode.env.local

# Android/IJ
#
Expand Down
10 changes: 2 additions & 8 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import React from 'react';
import { SafeAreaView, View } from 'react-native';
import {
RichText,
TenTapView,
Toolbar,
useEditor,
useKeyboardUp,
} from 'tentap';
import { RichText, Toolbar, useEditor, useKeyboardUp } from 'tentap';

// const exampleOfSmallEditorStyles = {
// height: 100,
Expand All @@ -31,8 +25,8 @@ function App() {
<SafeAreaView style={{ flex: 1 }}>
{/* <TextInput onFocus={() => setHideToolbar(true)} onBlur={() => setHideToolbar(false)} /> */}
{/* Native Fabric (with old arch support) View */}
<TenTapView />
<View style={{ ...exampleOfFullScreenEditorStyles }}>
{/* <TenTapView color="#32a852" style={{ width: 50, height: 50 }} /> */}
<RichText editor={editor} DEV />
</View>
<Toolbar editor={editor} visible={toolbarVisible} />
Expand Down
1 change: 0 additions & 1 deletion src/assets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ export const Images = {
undo: require('./undo.png'),
redo: require('./redo.png'),
};
console.log(Images.bold);

0 comments on commit 2a07884

Please sign in to comment.