Switching to @Radium decorator
This commit is contained in:
@@ -3,7 +3,8 @@ import PropTypes from 'prop-types'
|
||||
import React, { Component } from 'react'
|
||||
import { fontInfo } from './style'
|
||||
|
||||
class Link extends Component {
|
||||
@Radium
|
||||
export class Link extends Component {
|
||||
static propTypes = {
|
||||
to: PropTypes.string,
|
||||
size: PropTypes.string,
|
||||
@@ -26,5 +27,3 @@ class Link extends Component {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default Radium(Link)
|
||||
|
||||
Reference in New Issue
Block a user