1.0.0 • Published 5 years ago
ui-coopeuch-radio-button v1.0.0
molecule_radio_button
radio button element
Install
npm install --save ui-molecule-radio-button
Usage
import React, { Component } from 'react'
import RadioButton from 'molecule_radio_button'
class Example extends Component {
render () {
return (
<RadioButton
/>
)
}
}
Note:
If the example project doesn't run or throws this message:
You might have more than one copy of React in the same app
Run the following code inside the example project:
npm link ../node_modules/react
Note 2:
If the example project doesn't run or throws this message:
If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.
create an .env file inside example project named: .env and inside write this:
SKIP_PREFLIGHT_CHECK=true
License
MIT © kikoken
1.0.0
5 years ago