Improve experience for contacts without signal accounts
This commit is contained in:
parent
fe505a7f2f
commit
7fa730531a
11 changed files with 266 additions and 3 deletions
|
@ -20,17 +20,21 @@ export const SpinnerDirections = [
|
|||
export type SpinnerDirection = typeof SpinnerDirections[number];
|
||||
|
||||
export type Props = {
|
||||
moduleClassName?: string;
|
||||
ariaLabel?: string;
|
||||
direction?: SpinnerDirection;
|
||||
moduleClassName?: string;
|
||||
role?: string;
|
||||
size?: string;
|
||||
svgSize: SpinnerSvgSize;
|
||||
};
|
||||
|
||||
export const Spinner = ({
|
||||
ariaLabel,
|
||||
direction,
|
||||
moduleClassName,
|
||||
role,
|
||||
size,
|
||||
svgSize,
|
||||
direction,
|
||||
}: Props): JSX.Element => {
|
||||
const getClassName = getClassNamesFor('module-spinner', moduleClassName);
|
||||
|
||||
|
@ -42,6 +46,8 @@ export const Spinner = ({
|
|||
getClassName(direction && `__container--${direction}`),
|
||||
getClassName(direction && `__container--${svgSize}-${direction}`)
|
||||
)}
|
||||
role={role}
|
||||
aria-label={ariaLabel}
|
||||
style={{
|
||||
height: size,
|
||||
width: size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue