import * as React from 'react' ; import { Switcher } from '../../../../elements' ; import { SectionWrapper } from '../../../../sections' ; interface Props { onChange ? ( event ) : void ; } const ManualPopulationSwitcher = props => { return ( < SectionWrapper title = "Manual population" onChange = { props . onChange } > < Switcher id = "manual-population" label = "Select layers and a key. Layers will be filled despite the name matching." / > < /SectionWrapper>); } ; ManualPopulationSwitcher . defaultProps = { onChange : ( ) => { } , } as Partial < Props > ; export default ManualPopulationSwitcher ;