feat(web): add import flow functionality

This commit is contained in:
Ali BARIN
2025-01-20 12:27:09 +00:00
committed by Faruk AYDIN
parent 48e9541af5
commit 5695609180
9 changed files with 369 additions and 90 deletions

View File

@@ -9,6 +9,7 @@ function ConditionalIconButton(props) {
const { icon, ...buttonProps } = props;
const theme = useTheme();
const matchSmallScreens = useMediaQuery(theme.breakpoints.down('md'));
if (matchSmallScreens) {
return (
<IconButton
@@ -24,7 +25,8 @@ function ConditionalIconButton(props) {
</IconButton>
);
}
return <Button {...buttonProps} />;
return <Button {...buttonProps} startIcon={icon} />;
}
ConditionalIconButton.propTypes = {