mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(TS) Require interfaces to start with I (#12424)
This commit is contained in:
@@ -6,9 +6,9 @@ import { makeStyles } from 'tss-react/mui';
|
||||
import Icon from '../../../icons/components/Icon';
|
||||
import { withPixelLineHeight } from '../../../styles/functions.web';
|
||||
import { BUTTON_TYPES } from '../../constants';
|
||||
import { ButtonProps } from '../types';
|
||||
import { IButtonProps } from '../types';
|
||||
|
||||
interface IButtonProps extends ButtonProps {
|
||||
interface IProps extends IButtonProps {
|
||||
|
||||
/**
|
||||
* Class name used for additional styles.
|
||||
@@ -191,7 +191,7 @@ const Button = React.forwardRef<any, any>(({
|
||||
size = 'medium',
|
||||
testId,
|
||||
type = BUTTON_TYPES.PRIMARY
|
||||
}: IButtonProps, ref) => {
|
||||
}: IProps, ref) => {
|
||||
const { classes: styles, cx } = useStyles();
|
||||
const { t } = useTranslation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user