kopia lustrzana https://github.com/mifi/lossless-cut
17 wiersze
404 B
JavaScript
17 wiersze
404 B
JavaScript
import { memo } from 'react';
|
|
|
|
import { withBlur } from '../util';
|
|
import useUserSettings from '../hooks/useUserSettings';
|
|
import Switch from './Switch';
|
|
|
|
|
|
const MovFastStartButton = memo(() => {
|
|
const { movFastStart, toggleMovFastStart } = useUserSettings();
|
|
|
|
return (
|
|
<Switch checked={movFastStart} onCheckedChange={withBlur(toggleMovFastStart)} />
|
|
);
|
|
});
|
|
|
|
export default MovFastStartButton;
|