Add option to reset image filters to default

This commit is contained in:
schroda
2024-12-17 16:48:03 +01:00
parent 8ca0c58ee0
commit f72977c7ce
10 changed files with 70 additions and 10 deletions

View File

@@ -36,6 +36,6 @@ export const SliderInput = ({
</Typography>
</Stack>
<Slider {...slotProps?.slider} sx={{ flexBasis: '75%', ...slotProps?.slider?.sx }} />
{onDefault && <ResetButton onClick={onDefault} variant="outlined" />}
{onDefault && <ResetButton asIconButton onClick={onDefault} />}
</Stack>
);