diff --git a/.changeset/grumpy-lines-heal.md b/.changeset/grumpy-lines-heal.md new file mode 100644 index 00000000..681c1cd3 --- /dev/null +++ b/.changeset/grumpy-lines-heal.md @@ -0,0 +1,5 @@ +--- +'@reuters-graphics/graphics-components': patch +--- + +Allows step.background to be undefined diff --git a/src/components/@types/global.ts b/src/components/@types/global.ts index 0d9323ba..9fb19b5f 100644 --- a/src/components/@types/global.ts +++ b/src/components/@types/global.ts @@ -31,7 +31,7 @@ export interface ScrollerStep { /** * A background component */ - background: Component; + background: Component | undefined; /** * Optional props for background component */