mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-04 12:13:28 -07:00
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import { Switch as MantineSwitch, type SwitchProps } from '@mantine/core';
|
|
|
|
export const Switch = (props: SwitchProps) => (
|
|
<MantineSwitch
|
|
{...props}
|
|
styles={{
|
|
track: { transition: 'none' },
|
|
thumb: { transition: 'none' },
|
|
}}
|
|
/>
|
|
);
|