Upgrading all buttons to Button component

This commit is contained in:
James Barnsley
2020-08-16 20:00:10 +12:00
parent eb90730667
commit d02d5dd491
42 changed files with 1060 additions and 531 deletions

View File

@ -279,10 +279,14 @@ class LibraryPlaylists extends React.Component {
options={source_options}
handleChange={(value) => { this.props.uiActions.set({ library_playlists_source: value }); this.props.uiActions.hideContextMenu(); }}
/>
<Link className="button button--no-hover" to="/playlist/create">
<Button
to="/playlist/create"
noHover
tracking={{ category: 'Playlist', action: 'Create' }}
>
<Icon name="add_box" />
<I18n path="actions.add" />
</Link>
</Button>
</span>
);