Back to Fluentui

Spinner Migration

packages/react-components/react-spinner/library/docs/MIGRATION.md

4.40.2-hotfix21.0 KB
Original Source

Spinner Migration

Migration from v8

  • Spinner
    • ariaLabel => use aria-label instead.
    • ariaLive => use aria-live instead.
    • componentRef => use ref instead.
    • theme => Not supported. Use a ThemeProvider control instead.

Migration from v0

  • Loader
    • delay => Not supported.
    • inline => Not supported.
    • labelPosition => labelPosition => 'start' and 'end' changed to 'before' and 'after'
    • size => size => There are the same number of sizes

Property mapping

v8 Spinnerv0 Loaderv9 Spinner
ariaLabelaria-labelaria-label
ariaLivearia-livearia-live
componentRefrefref
delay
inline
labelPositionlabelPosition
sizesize
theme