1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-24 07:01:48 +00:00

Merge pull request #1207 from ytk141/add-note-mode-tab

add note mode tab
This commit is contained in:
Kazz Yokomizo
2017-12-16 17:33:49 +09:00
committed by GitHub
7 changed files with 121 additions and 0 deletions

View File

@@ -318,6 +318,16 @@ class MarkdownNoteDetail extends React.Component {
value={this.state.note.tags}
onChange={(e) => this.handleChange(e)}
/>
<div styleName='mode-tab'>
<div styleName='active'>
<img styleName='item-star' src='../resources/icon/icon-WYSIWYG-on.svg' />
</div>
<div>
<img styleName='item-star' src='../resources/icon/icon-code-off.svg' />
</div>
</div>
<TodoListPercentage
percentageOfTodo={getTodoPercentageOfCompleted(note.content)}
/>