Brazilian states
What do you guys think about functions to handle the Brazilian states?
something like:
- Get all states
- Find a specific state
where this could be applied?
- Select a state
- Show a state by its code
[
{code: 'sp', name: 'São Paulo'},
{code: 'rj', name: 'Rio de Janeiro'}
]
Hi @linconkusunoki , awesome idea! We already have states info here (missing full state name, but we can add) and we just need to expose this. About "find a specific state" and "exposed data form", who uses this info should implement your search logic and format your data structure.
What do you think?
awesome @hyanmandian! It'll be very helpful to have the states available. I think that makes sense only to expose the data and let the developers implement the logic :)
Hey, I just create the PR with this method (getStates). Can you check if everything is alright? 😄
Closed by #85