ref(TS) Require interfaces to start with I (#12424)

This commit is contained in:
Robert Pintilii
2022-10-20 12:11:27 +03:00
committed by GitHub
parent 10d202439b
commit 2938d1f2dc
197 changed files with 971 additions and 954 deletions

View File

@@ -13,7 +13,7 @@ import { IconClose } from '../../../base/icons/svg';
// @ts-ignore
import Label from '../Label';
interface Props extends WithTranslation {
interface IProps extends WithTranslation {
/**
* The phone number that is being called.
@@ -63,10 +63,10 @@ const useStyles = makeStyles()((theme: Theme) => {
/**
* Dialog displayed when the user gets called by the meeting.
*
* @param {Props} props - The props of the component.
* @param {IProps} props - The props of the component.
* @returns {ReactElement}
*/
function CallingDialog(props: Props) {
function CallingDialog(props: IProps) {
const { number, onClose, status, t } = props;
const { classes } = useStyles();

View File

@@ -14,7 +14,7 @@ import { getCountryCodeFromPhone } from '../../utils';
// @ts-ignore
import Label from '../Label';
interface Props extends WithTranslation {
interface IProps extends WithTranslation {
/**
* The number to call in order to join the conference.
@@ -98,10 +98,10 @@ const useStyles = makeStyles()((theme: Theme) => {
* This component displays the dialog with all the information
* to join a meeting by calling it.
*
* @param {Props} props - The props of the component.
* @param {IProps} props - The props of the component.
* @returns {React$Element}
*/
function DialinDialog(props: Props) {
function DialinDialog(props: IProps) {
const {
number,
onBack,

View File

@@ -14,7 +14,7 @@ import Label from '../Label';
// @ts-ignore
import CountryPicker from '../country-picker/CountryPicker';
interface Props extends WithTranslation {
interface IProps extends WithTranslation {
/**
* Closes a dialog.
@@ -52,10 +52,10 @@ const useStyles = makeStyles()((theme: Theme) => {
* This component displays the dialog from which the user can enter the
* phone number in order to be called by the meeting.
*
* @param {Props} props - The props of the component.
* @param {IProps} props - The props of the component.
* @returns {React$Element}
*/
function DialOutDialog(props: Props) {
function DialOutDialog(props: IProps) {
const { onClose, onTextButtonClick, onSubmit, t } = props;
const { classes } = useStyles();