Update eslint to 8.27.0

This commit is contained in:
Fedor Indutny 2022-11-17 16:45:19 -08:00 committed by GitHub
parent c8fb43a846
commit 98ef4c627a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
499 changed files with 8995 additions and 8494 deletions

View file

@ -47,16 +47,16 @@ export default {
title: 'Components/CallingParticipantsList',
};
export const NoOne = (): JSX.Element => {
export function NoOne(): JSX.Element {
const props = createProps();
return <CallingParticipantsList {...props} />;
};
}
NoOne.story = {
name: 'No one',
};
export const SoloCall = (): JSX.Element => {
export function SoloCall(): JSX.Element {
const props = createProps({
participants: [
createParticipant({
@ -65,9 +65,9 @@ export const SoloCall = (): JSX.Element => {
],
});
return <CallingParticipantsList {...props} />;
};
}
export const ManyParticipants = (): JSX.Element => {
export function ManyParticipants(): JSX.Element {
const props = createProps({
participants: [
createParticipant({
@ -95,13 +95,13 @@ export const ManyParticipants = (): JSX.Element => {
],
});
return <CallingParticipantsList {...props} />;
};
}
export const Overflow = (): JSX.Element => {
export function Overflow(): JSX.Element {
const props = createProps({
participants: Array(50)
.fill(null)
.map(() => createParticipant({ title: 'Kirby' })),
});
return <CallingParticipantsList {...props} />;
};
}