Switch NPM | Github Installation yarn add @propellerads/switch or npm install @propellerads/switch -S How to use import CookieMessage from '@propellerads/switch'; And render <Switch model onChange={() => {}}/>