import * as React from 'react';
import { ParallaxBackgroundControlsProps } from 'src/types/controls';
import TextField from '@material-ui/core/TextField';
import { BottomToolbar } from 'ory-editor-ui';
import ThemeProvider, { darkTheme } from 'ory-editor-ui/lib/ThemeProvider';
const ParallaxBackgroundDefaultControls: React.SFC<
ParallaxBackgroundControlsProps
> = props => {
const {
Renderer,
focused,
state: { background = '', darken = 0.3 },
} = props;
return (
<>
props.handleBackgroundPreviewChange(e.target.value)}
onBlur={props.commitBackground}
/>
props.handleDarkenPreviewChange(e.target.value)}
onBlur={props.commitDarken}
/>
>
);
};
export default ParallaxBackgroundDefaultControls;