import React from 'react'; import './toggleSelection.css'; declare const ToggleSelection: { (props: Props): JSX.Element; defaultProps: DefaultProps; }; declare type RequiredProps = { isActive: boolean; onChange: (isActive: boolean) => void; }; declare type DefaultProps = { parentClass: string; leftText: React.ReactNode; rightText: React.ReactNode; activeBackgroundColor: string; inactiveBackgroundColor: string; }; export declare type Props = RequiredProps & DefaultProps; export default ToggleSelection;