mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
24 lines
589 B
TypeScript
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}
|
|
/>
|
|
);
|
|
};
|