diff --git a/learn/react-native/wmx-docs/creating-wmx-widget-with-ai.md b/learn/react-native/wmx-docs/creating-wmx-widget-with-ai.md index 558e11ecd..282c23058 100644 --- a/learn/react-native/wmx-docs/creating-wmx-widget-with-ai.md +++ b/learn/react-native/wmx-docs/creating-wmx-widget-with-ai.md @@ -5,19 +5,14 @@ sidebar_label: "Create WMX Widget with AI Tools" --- --- -import colorpicker from '/learn/assets/react-native/wmx/colorpicker.mp4' -import reservation from '/learn/assets/react-native/wmx/reservation.mp4' import wmxColorPicker from '/learn/assets/react-native/wmx/wmxColorPicker.png' +import wmxSeatReservation from '/learn/assets/react-native/wmx/wmxSeatReservation.png' -WMX Widgets are designed to work seamlessly with AI-assisted coding tools, making it faster and easier to develop, refine, and integrate custom widgets into your WaveMaker App. -This guide demonstrates how AI can help you create WMX widgets quickly and efficiently. +WMX Widgets are designed to work seamlessly with AI-assisted coding tools, making it faster and easier to develop, refine, and integrate custom widgets into your WaveMaker App. This guide demonstrates how AI can help you create WMX widgets quickly and efficiently. -Instructions about widget structure are already provided in your project at: `src/main/webapp/extensions/components/src/readme.md` -So, when working with AI tools, you can skip boilerplate details and focus directly on building your custom component. +Instructions about widget structure are already provided in your project at: `src/main/webapp/extensions/components/src/readme.md`. So, when working with AI tools, you can skip boilerplate details and focus directly on building your custom component. -In the following examples, we’ll use **Cursor**, but you can use any preferred AI tool. - ---- +In the following examples, we’ll use **[Cursor](https://cursor.com/)**, but you can use any preferred AI tool. ## Steps to create WMX widgets using AI tools @@ -31,72 +26,97 @@ In the following examples, we’ll use **Cursor**, but you can use any preferred 5. Review the generated code carefully and make fixes if required (via Cursor or manually). 6. Once verified, push your changes. ---- - ## Examples -### Example 1: Color Picker Widget -Create a flexible, feature-rich color picker. We will use the `reanimated-color-picker` library to implement it. +### Example 1: Text-to-Widget Generation -Color Picker Screenshot +Building a Color Picker widget with [`reanimated-color-picker`](https://www.npmjs.com/package/reanimated-color-picker) using AI. -**Prompt:** -``` -create a WMX widget to use the reanimated-color-picker library -``` -