Merge pull request #297 from reuters-graphics/mf-scroller-quikfix
Allows `step.background` to be undefined
This commit is contained in:
commit
f7a5cf46e4
2 changed files with 6 additions and 1 deletions
5
.changeset/grumpy-lines-heal.md
Normal file
5
.changeset/grumpy-lines-heal.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@reuters-graphics/graphics-components': patch
|
||||
---
|
||||
|
||||
Allows step.background to be undefined
|
||||
|
|
@ -31,7 +31,7 @@ export interface ScrollerStep {
|
|||
/**
|
||||
* A background component
|
||||
*/
|
||||
background: Component;
|
||||
background: Component | undefined;
|
||||
/**
|
||||
* Optional props for background component
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue