Manav Rathi 7417bb6830
Conv
2025-01-15 16:36:21 +05:30

16 lines
393 B
TypeScript

import { IconButton, styled } from "@mui/material";
/**
* Convenience typed props for a component that acts like a push button.
*/
export interface ButtonishProps {
onClick: () => void;
}
/**
* A MUI {@link IconButton} filled in with a faint background.
*/
export const FilledIconButton = styled(IconButton)(({ theme }) => ({
backgroundColor: theme.vars.palette.fill.faint,
}));