diff --git a/.vitepress/theme/index.js b/.vitepress/theme/index.js index 1ddc5daf..b9432c94 100644 --- a/.vitepress/theme/index.js +++ b/.vitepress/theme/index.js @@ -1,7 +1,6 @@ -import Theme from '@nativescript/vitepress-theme' -import '@nativescript/vitepress-theme/theme/style.css' +import Theme from "@nativescript/vitepress-theme"; +import "@nativescript/vitepress-theme/theme/style.css"; export default { ...Theme(), - enhanceApp() {}, -} +}; diff --git a/content/guide/create-custom-native-elements.md b/content/guide/create-custom-native-elements.md index c64ab922..430db181 100644 --- a/content/guide/create-custom-native-elements.md +++ b/content/guide/create-custom-native-elements.md @@ -240,15 +240,14 @@ Let's create a `` component that behaves consistently on iOS and Andro -See the full working example on StackBlitz: - +See the full working example on StackBlitz: - Angular: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox?file=src%2Fapp%2Fcheckbox%2Fcommon.ts - React: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-react?file=src%2Fcomponents%2FScreenOne.tsx - Solid: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-solid?file=src%2Fcomponents%2Fhome.tsx - Svelte: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-svelte?file=app%2Fcomponents%2FHome.svelte - TypeScript: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-ts?file=app%2Fmain-page.xml - Vue: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-vue?file=src%2Fcomponents%2FHome.vue - + In NativeScript, creating custom UI components can be straightforward and powerful. In this guide, you'll learn how to build a simple, reusable Checkbox component using only built-in modules from `@nativescript/core`. We'll leverage a combination of `GridLayout`, `Label`, and Material Design icons. ### Step-by-Step Guide