Skip to content
Snippets Groups Projects
Commit dcf23f41 authored by Alf Eaton's avatar Alf Eaton
Browse files

Fix upload icon

parent 3cf68d46
No related branches found
No related tags found
No related merge requests found
import React from 'react'
import { pascalize } from 'humps'
import * as icons from 'react-feather'
import classes from './Icon.local.scss'
const Icon = ({ children, color = 'black', size = 24 }) => {
// convert `arrow_left` to `ArrowLeft`
......@@ -10,7 +11,7 @@ const Icon = ({ children, color = 'black', size = 24 }) => {
const icon = icons[name]
return (
<span>{icon({ color, size })}</span>
<span className={classes.root}>{icon({ color, size })}</span>
)
}
......
.root {
display: inline-block;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment