
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@easyguide/ratio
Advanced tools
Camponents select ui
npm install --save @easyguide/select
import React, {Fragment} from 'react'
import Select from '@easyguide/select'
class Example extends Component {
render() {
const data = [{key: 1, value: 'Option 1'}, {key: 2, value: 'Option 2'}]
return (
<Fragment>
<Select
data={data}
onChange={item => console.log(`value:${item.value}`)}
render={item => (
<div>
<span>
<img
style={{
marginRight: 10,
verticalAlign: 'bottom',
}}
width="20"
height="20"
src="https://cdn4.iconfinder.com/data/icons/48-bubbles/48/04.Bank-512.png"
/>
<span>{item.value}</span>
</span>
</div>
)}
renderListItem={item => `${item.key} - ${item.value}`}
/>
</Fragment>
)
}
}
import React, {Fragment} from 'react'
import Select from '@easyguide/select'
class Example extends Component {
render() {
const data = [{key: 1, value: 'Option 1'}, {key: 2, value: 'Option 2'}]
return (
<Fragment>
<Select
liveSearch
data={data}
placeholder="Digite uma opção"
onChange={item => console.log(`value:${item.value}`)}
renderListItem={item => `${item.key} - ${item.value}`}
render={item => (
<div>
<span>
<img
style={{
marginRight: 10,
verticalAlign: 'bottom',
}}
width="20"
height="20"
src="https://cdn4.iconfinder.com/data/icons/48-bubbles/48/04.Bank-512.png"
/>
<span>{item.value}</span>
</span>
</div>
)}
/>
</Fragment>
)
}
}
MIT © iamtchelo
FAQs
Components ratio ui
We found that @easyguide/ratio demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.