UNPKG

@render-props/choices

Version:

A state container which provides an interface for making selections from a group of choices. The `Choices` component itself is a context provider which can be used with the `Choice` and `ChoicesConsumer` components for deep-tree selections. It does not ha

3 lines (2 loc) 85 B
import ChoicesContext from './ChoicesContext' export default ChoicesContext.Consumer