🚀
Migrating to rocket-ui
  • ✈️Migrating from Material-UI v4 to v5
  • @totalsoft/rocket-ui Components (TS)
    • Getting started
    • Migrating from @totalsoft_oss/rocket-ui.core
  • (DEPRECATED) @totalsoft_oss/rocket-ui Bit Components
    • 🔘Buttons
    • 📊Charts
    • 💻Data-display
    • 👏Feedback
    • 🔣Inputs
    • 🗂️Surfaces
    • 🛶Navigation
Powered by GitBook
On this page
  1. @totalsoft/rocket-ui Components (TS)

Getting started

PreviousMigrating from Material-UI v4 to v5NextMigrating from @totalsoft_oss/rocket-ui.core

Last updated 1 year ago

If you upgraded your project using the you can skip to step 2.

  1. Install @totalsoft/rocket-ui package and the following packages must be uninstalled:

  • @totalsoft_oss/rocket-ui.core

  • @totalsoft_oss/rocket-ui.themes

or

  • @bit/totalsoft_oss.react-mui.kit.core

  1. For each component that was imported from one of the following libraries: @totalsoft_oss/rocket-ui.core or @bit/totalsoft_oss.react-mui.kit.core the import must be changed to:

//old way
import { IconButton } from '@totalsoft_oss/rocket-ui.core'
//new way
import { IconButton } from '@totalsoft/rocket-ui'

The themes can also be imported from @totalsoft/rocket-ui, there are no more different packages:

import { defaultTheme } from '@totalsoft/rocket-ui'

Check out our new components library for more information:

Webapp Rocket Generator
GitHub - osstotalsoft/rocket-ui-ts: A collection of reusable and composable React components written in TypeScript built on top of Material UI coreGitHub
Logo