🚀
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
  • Dialog
  • Loading Fake Text
  1. @totalsoft/rocket-ui Components (TS)

Migrating from @totalsoft_oss/rocket-ui.core

Dialog

DialogDisplay and CustomDialog are now one!🎉 Replace all your imports and use-cases as follows:

//old way
import { DialogDisplay, CustomDialog } from '@totalsoft_oss/rocket-ui.core'
//new way
import { Dialog } from '@totalsoft/rocket-ui'
import { Dialog } from '@totalsoft/rocket-ui'

function Component(){
    return <Dialog
      id='addApplication'
      open={dialog}
      title={t('Application.Name')}
      content={<AddApplication applicationName={applicationName} validation={validation} onPropertyChange={setApplicationName} />}
      onClose={closeDialog}
      onYes={onSaveChange}
    />
}

Loading Fake Text

  • It was renamed to FakeText

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

function Component(){
    return <FakeText lines={10} />
}

PreviousGetting startedNextButtons

Last updated 2 years ago