Switching to @Radium decorator

This commit is contained in:
John Lyon-Smith
2018-03-22 15:27:12 -07:00
parent 06ae76047e
commit 1b35ac8b22
32 changed files with 115 additions and 122 deletions

View File

@@ -4,7 +4,8 @@ import Radium from 'radium'
import { Dimmer } from 'ui'
import { colorInfo, sizeInfo } from 'ui/style'
class Modal extends Component {
@Radium
export class Modal extends Component {
static propTypes = {
children: PropTypes.node,
open: PropTypes.bool,
@@ -34,5 +35,3 @@ class Modal extends Component {
)
}
}
export default Radium(Modal)