mirror of
https://github.com/ente-io/ente.git
synced 2025-06-04 08:11:39 +00:00
14 lines
383 B
TypeScript
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,
|
|
}));
|