@@ -7,6 +7,18 @@ import {
77} from 'react-native'
88import Styles from './NoteInputSupportStyles'
99
10+ import SvgUri from 'react-native-svg-uri'
11+
12+ import headIcon from '../../../resource/noteInputSupportIcons/icon-head.svg'
13+ import listIcon from '../../../resource/noteInputSupportIcons/icon-list.svg'
14+ import codeIcon from '../../../resource/noteInputSupportIcons/icon-code.svg'
15+ import boldIcon from '../../../resource/noteInputSupportIcons/icon-bold.svg'
16+ import italicIcon from '../../../resource/noteInputSupportIcons/icon-italic.svg'
17+ import quoteIcon from '../../../resource/noteInputSupportIcons/icon-quote.svg'
18+ import checkboxIcon from '../../../resource/noteInputSupportIcons/icon-checkbox.svg'
19+ import pasteIcon from '../../../resource/noteInputSupportIcons/icon-paste.svg'
20+
21+
1022export default class NoteInputSupport extends React . Component {
1123 render ( ) {
1224 return (
@@ -18,7 +30,11 @@ export default class NoteInputSupport extends React.Component {
1830 } }
1931 style = { Styles . inputElementsStyle } >
2032 < View >
21- < Text style = { Styles . supportMain } > #</ Text >
33+ < SvgUri
34+ width = '10'
35+ height = '10'
36+ source = { headIcon }
37+ />
2238 < Text style = { Styles . supportSub } > Head</ Text >
2339 </ View >
2440 </ TouchableHighlight >
@@ -28,7 +44,11 @@ export default class NoteInputSupport extends React.Component {
2844 } }
2945 style = { Styles . inputElementsStyle } >
3046 < View >
31- < Text style = { Styles . supportMain } > -</ Text >
47+ < SvgUri
48+ width = '10'
49+ height = '10'
50+ source = { listIcon }
51+ />
3252 < Text style = { Styles . supportSub } > List</ Text >
3353 </ View >
3454 </ TouchableHighlight >
@@ -38,7 +58,11 @@ export default class NoteInputSupport extends React.Component {
3858 } }
3959 style = { Styles . inputElementsStyle } >
4060 < View >
41- < Text style = { Styles . supportMain } > ```</ Text >
61+ < SvgUri
62+ width = '10'
63+ height = '10'
64+ source = { codeIcon }
65+ />
4266 < Text style = { Styles . supportSub } > Code</ Text >
4367 </ View >
4468 </ TouchableHighlight >
@@ -48,7 +72,11 @@ export default class NoteInputSupport extends React.Component {
4872 } }
4973 style = { Styles . inputElementsStyle } >
5074 < View >
51- < Text style = { Styles . supportMain } > **</ Text >
75+ < SvgUri
76+ width = '10'
77+ height = '10'
78+ source = { boldIcon }
79+ />
5280 < Text style = { Styles . supportSub } > Bold</ Text >
5381 </ View >
5482 </ TouchableHighlight >
@@ -58,7 +86,11 @@ export default class NoteInputSupport extends React.Component {
5886 } }
5987 style = { Styles . inputElementsStyle } >
6088 < View >
61- < Text style = { Styles . supportMain } > _</ Text >
89+ < SvgUri
90+ width = '10'
91+ height = '10'
92+ source = { italicIcon }
93+ />
6294 < Text style = { Styles . supportSub } > italic</ Text >
6395 </ View >
6496 </ TouchableHighlight >
@@ -68,7 +100,11 @@ export default class NoteInputSupport extends React.Component {
68100 } }
69101 style = { Styles . inputElementsStyle } >
70102 < View >
71- < Text style = { Styles . supportMain } > ></ Text >
103+ < SvgUri
104+ width = '10'
105+ height = '10'
106+ source = { quoteIcon }
107+ />
72108 < Text style = { Styles . supportSub } > Quote</ Text >
73109 </ View >
74110 </ TouchableHighlight >
@@ -78,14 +114,25 @@ export default class NoteInputSupport extends React.Component {
78114 } }
79115 style = { Styles . inputElementsStyle } >
80116 < View >
81- < Text style = { Styles . supportMain } > - [ ]</ Text >
117+ < SvgUri
118+ width = '10'
119+ height = '10'
120+ source = { checkboxIcon }
121+ />
82122 < Text style = { Styles . supportSub } > TaskList</ Text >
83123 </ View >
84124 </ TouchableHighlight >
85125 < TouchableHighlight
86126 onPress = { this . props . pasteContent . bind ( this ) }
87127 style = { Styles . inputElementsStyle } >
88- < Text style = { Styles . pasteButton } > Paste</ Text >
128+ < View >
129+ < SvgUri
130+ width = '10'
131+ height = '10'
132+ source = { pasteIcon }
133+ />
134+ < Text style = { Styles . supportSub } > Paste</ Text >
135+ </ View >
89136 </ TouchableHighlight >
90137 </ ScrollView >
91138 </ View >
0 commit comments