-
Notifications
You must be signed in to change notification settings - Fork 51
/
icons.tsx
52 lines (51 loc) · 1.6 KB
/
icons.tsx
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import {
faAngleUp,
faAsterisk,
faBold,
faCode,
faHeading,
faImage,
faIndent,
faItalic,
faLink,
faListOl,
faListUl,
faOutdent,
faParagraph,
faQuoteLeft,
faRedo,
faStrikethrough,
faSubscript,
faSuperscript,
faTable,
faUnderline,
faUndo,
} from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import React from 'react'
export const icons: Record<string, JSX.Element> = {
// em: <FontAwesomeIcon icon={faItalic} />,
italic: <FontAwesomeIcon icon={faItalic} />,
// strong: <FontAwesomeIcon icon={faBold} />,
bold: <FontAwesomeIcon icon={faBold} />,
code: <FontAwesomeIcon icon={faCode} />,
subscript: <FontAwesomeIcon icon={faSubscript} />,
superscript: <FontAwesomeIcon icon={faSuperscript} />,
underline: <FontAwesomeIcon icon={faUnderline} />,
strikethrough: <FontAwesomeIcon icon={faStrikethrough} />,
link: <FontAwesomeIcon icon={faLink} />,
paragraph: <FontAwesomeIcon icon={faParagraph} />,
heading: <FontAwesomeIcon icon={faHeading} />,
blockquote: <FontAwesomeIcon icon={faQuoteLeft} />,
codeBlock: <FontAwesomeIcon icon={faCode} />,
orderedList: <FontAwesomeIcon icon={faListOl} />,
bulletList: <FontAwesomeIcon icon={faListUl} />,
image: <FontAwesomeIcon icon={faImage} />,
table: <FontAwesomeIcon icon={faTable} />,
footnote: <FontAwesomeIcon icon={faAsterisk} />,
undo: <FontAwesomeIcon icon={faUndo} />,
redo: <FontAwesomeIcon icon={faRedo} />,
indent: <FontAwesomeIcon icon={faIndent} />,
outdent: <FontAwesomeIcon icon={faOutdent} />,
joinUp: <FontAwesomeIcon icon={faAngleUp} />,
}