Files
feishin/src/renderer/features/shared/components/play-button.tsx
T
2025-06-25 19:44:28 -07:00

24 lines
589 B
TypeScript

import clsx from 'clsx';
import styles from './play-button.module.css';
import { ActionIcon, ActionIconProps } from '/@/shared/components/action-icon/action-icon';
export interface PlayButtonProps extends ActionIconProps {
size?: number | string;
}
export const PlayButton = ({ className, ...props }: PlayButtonProps) => {
return (
<ActionIcon
className={clsx(styles.button, className)}
icon="mediaPlay"
iconProps={{
size: 'xl',
}}
variant="filled"
{...props}
/>
);
};