File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import { WorktreeListItem } from './worktree-list-item'
77import { Button } from '../lib/button'
88import { IMatches } from '../../lib/fuzzy-find'
99import { ClickSource } from '../lib/list'
10+ import { Octicon } from '../octicons'
11+ import * as octicons from '../octicons/octicons.generated'
1012import memoizeOne from 'memoize-one'
1113
1214const RowHeight = 30
@@ -99,9 +101,10 @@ export class WorktreeList extends React.Component<IWorktreeListProps> {
99101 }
100102 return (
101103 < Button
102- className = "new-worktree-button"
104+ className = "new-worktree-button button-with-icon "
103105 onClick = { this . props . onCreateNewWorktree }
104106 >
107+ < Octicon symbol = { octicons . plus } className = "mr" />
105108 { __DARWIN__ ? 'New Worktree' : 'New worktree' }
106109 </ Button >
107110 )
You can’t perform that action at this time.
0 commit comments