mirror of
https://github.com/ente-io/ente.git
synced 2025-06-14 12:31:49 +00:00
16 lines
393 B
TypeScript
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,
|
|
}));
|