@berlitz/banner-language-selector
v0.1.3
Published
BannerLanguageSelector component for the Max Design System
Downloads
6,963
Readme
BannerLanguageSelector
TODO what does this component do?
When to use this component
TODO fill this in, delete if not relevant
Installation
TODO how do you install it?
yarn add @berlitz/banner-language-selector
Props
TODO fill this in, delete if not relevant
| Prop | Type | Required | Default | Description |
| ---- | ---- | -------- | ------- | ----------- |
| languages | array | ✅ | | [{country_code:'us',title:'USA',url:'https://www.berlitz.com'}
] |
| title | string | ✅ | | |
| subtitle | string | | | |
| homepage | boolean | | | |
| sticky | boolean | | | |
Usage
// TODO fill this in
import BannerLanguageSelector from '@berlitz/banner-language-selector'
const MyApp = () => <BannerLanguageSelector languages={[country_code:'',page_language:{url:'', title:''}] } title={""}/>
Notes
TODO fill this in, delete if not relevant