Manav Rathi 16fd6bf1e1
Move
2024-11-22 16:28:37 +05:30

14 lines
383 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.colors.fill.faint,
}));