Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

feat(react): added button, app and AppConfig#175

Draft
ndevplanque wants to merge 5 commits intomainfrom
feature/add-react-button
Draft

feat(react): added button, app and AppConfig#175
ndevplanque wants to merge 5 commits intomainfrom
feature/add-react-button

Conversation

@ndevplanque
Copy link
Copy Markdown

@ndevplanque ndevplanque commented Mar 7, 2025

🔗 Linked issue

📚 Description

Déplacement du code ajouté dans react-components.

  • Ajout du composant App

  • Ajout du Context/Provider "useAppConfig"

  • Ajout d'un hook useComponent pour récupérer les classes des composants

  • Prise en compte du thème mockline (calculé dans la constante ui du useComponent)

  • Prise en compte de la config dans useComponent

  • Ajout d'un composant Icon utilisant @iconify/react

  • Ajout d'un composant Button utilisant useComponent et Icon

⚠️ Le code fonctionnait bien dans l'autre repo, mais ici, je n'arrive pas à importer le module @mockline/themes ni à utiliser les composants dans le playground.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@ndevplanque ndevplanque self-assigned this Mar 7, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 7, 2025

Thank you for following the naming conventions! 🙏

"scripts": {
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"clean": "rm -rf dist",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ca supprimer pas automatiquement ?

@HugoRCD HugoRCD changed the title feat(React): added Button, App and AppConfig feat(react): added button, app and AppConfig Apr 10, 2025
@nuxthub-admin
Copy link
Copy Markdown
Contributor

nuxthub-admin bot commented Apr 18, 2025

✅ Deployed mockline

Deployed mockline ed0964b to preview

🔗 feature-add-react-button.mockline.pages.dev
📌 d6adc772.mockline.pages.dev
📱
View QR Code QR code linking to deployment URL.

📋 View deployment logs

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 18, 2025

Open in StackBlitz

npm i https://pkg.pr.new/Mockline/mockline@175

commit: ed0964b

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants