eslint: use semicolon TypeScript delimeter

This commit is contained in:
Alex Gleason
2023-10-02 13:54:02 -05:00
parent 702124fb79
commit 645ce60a5f
479 changed files with 1928 additions and 1938 deletions

View File

@ -22,14 +22,14 @@ export type CardSizes = keyof typeof sizes
interface ICard {
/** The type of card. */
variant?: 'default' | 'rounded' | 'slim'
variant?: 'default' | 'rounded' | 'slim';
/** Card size preset. */
size?: CardSizes
size?: CardSizes;
/** Extra classnames for the <div> element. */
className?: string
className?: string;
/** Elements inside the card. */
children: React.ReactNode
tabIndex?: number
children: React.ReactNode;
tabIndex?: number;
}
/** An opaque backdrop to hold a collection of related elements. */
@ -48,10 +48,10 @@ const Card = React.forwardRef<HTMLDivElement, ICard>(({ children, variant = 'def
));
interface ICardHeader {
backHref?: string
onBackClick?: (event: React.MouseEvent) => void
className?: string
children?: React.ReactNode
backHref?: string;
onBackClick?: (event: React.MouseEvent) => void;
className?: string;
children?: React.ReactNode;
}
/**
@ -87,7 +87,7 @@ const CardHeader: React.FC<ICardHeader> = ({ className, children, backHref, onBa
};
interface ICardTitle {
title: React.ReactNode
title: React.ReactNode;
}
/** A card's title. */
@ -97,9 +97,9 @@ const CardTitle: React.FC<ICardTitle> = ({ title }): JSX.Element => (
interface ICardBody {
/** Classnames for the <div> element. */
className?: string
className?: string;
/** Children to appear inside the card. */
children: React.ReactNode
children: React.ReactNode;
}
/** A card's body. */