diff --git a/src/components/@types/global.ts b/src/components/@types/global.ts index 918a739f..e76ba307 100644 --- a/src/components/@types/global.ts +++ b/src/components/@types/global.ts @@ -5,11 +5,11 @@ import type { ComponentType } from 'svelte'; */ export type ContainerWidth = 'narrower' | 'narrow' | 'normal' | 'wide' | 'wider' | 'widest' | 'fluid'; - /** * A step in the Scroller component. */ export interface ScrollerStep { + altText: string; /** * A background component * @required @@ -19,7 +19,7 @@ export interface ScrollerStep { * Optional props for background component */ backgroundProps?: Object; - /** + /** * Foreground can either be a component or markdown-formatted string. * @required */ diff --git a/src/components/Scroller/Embedded/Background.svelte b/src/components/Scroller/Embedded/Background.svelte index f776f259..8081ba70 100644 --- a/src/components/Scroller/Embedded/Background.svelte +++ b/src/components/Scroller/Embedded/Background.svelte @@ -1,6 +1,6 @@ - -
+ +