stationaryjs
v0.0.0
Published
Bunch of static data needed in apps like time-zones list, states list, country codes etc.
Downloads
4
Maintainers
Readme
stationaryjs
Bunch of static data needed in apps like time-zones list, states list, country codes etc.
Install
npm install stationaryjs --save
or using yarn
yarn add stationaryjs
usage
import React, { Component } from "react";
import { countries } from "stationaryjs";
class Preview extends Component {
render () {
return (
<div>
<select>
{
countries.map((country, index) => <option key={index} value={country.value}>{country.name}</option>)
}
</select>
</div>
)
}
}
like it?
:star: this repo
Contributors
PRs are welcomed.
license
MIT © priyanshujain