Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE update #5

Merged
merged 13 commits into from
Sep 12, 2022
Merged

CORE update #5

merged 13 commits into from
Sep 12, 2022

Conversation

dubisdev
Copy link
Contributor

@dubisdev dubisdev commented Jun 27, 2022

Done

  • Migrated to prop-types (react prop-types were deprecated)
  • Migrated to @electron/remote as remote module is not available in current electorn version.
  • Now the package is bundled with cerebro-scripts

🚧 Breaking changes

  • Now Form items can't be imported from "cerebro-ui/form". It is necessary to import FormComponents from the package

Before

import { Checkbox } from "cerebro-ui/Form"

After

import { FormComponents } from "cerebro-ui"
const { Checkbox } = FormComponents

// or

const Checkbox = FormComponents.Checkbox

// or use directly

<FormComponents.Checkbox />

@ogustavo-pereira ogustavo-pereira self-requested a review July 19, 2022 21:18
@ogustavo-pereira ogustavo-pereira merged commit d2056ad into cerebroapp:master Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants