I've been struggling to increase the size of the react-bootstrap
switch without success.
I searched through the documentation and tried various methods, but couldn't find a solution other than directly modifying the bootstrap css.
Here's the code snippet:
import Form from 'react-bootstrap/Form';
function SwitchExample() {
return (
<Form>
<Form.Check
type="switch"
id="custom-switch"
label="Check this switch"
/>
</Form>
);
}
export default SwitchExample;
Appreciate your help.