Skip to content

Commit 242d859

Browse files
authoredApr 10, 2025
Revert "fix: Next Link not updating issue" (#169)
1 parent 8e27108 commit 242d859

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed
 

Diff for: ‎.vitepress/theme/index.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import Theme from '@nativescript/vitepress-theme'
2-
import '@nativescript/vitepress-theme/theme/style.css'
1+
import Theme from "@nativescript/vitepress-theme";
2+
import "@nativescript/vitepress-theme/theme/style.css";
33

44
export default {
55
...Theme(),
6-
enhanceApp() {},
7-
}
6+
};

Diff for: ‎content/guide/create-custom-native-elements.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,14 @@ Let's create a `<Checkbox>` component that behaves consistently on iOS and Andro
240240

241241
<iframe style="width: 100%; min-height: 200px; aspect-ratio: 16 / 9;" src="https://www.youtube.com/embed/08uip43irOM" title="Creating custom elements with NativeScript" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
242242

243-
See the full working example on StackBlitz:
244-
243+
See the full working example on StackBlitz:
245244
- Angular: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox?file=src%2Fapp%2Fcheckbox%2Fcommon.ts
246245
- React: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-react?file=src%2Fcomponents%2FScreenOne.tsx
247246
- Solid: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-solid?file=src%2Fcomponents%2Fhome.tsx
248247
- Svelte: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-svelte?file=app%2Fcomponents%2FHome.svelte
249248
- TypeScript: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-ts?file=app%2Fmain-page.xml
250249
- Vue: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-vue?file=src%2Fcomponents%2FHome.vue
251-
250+
252251
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.
253252

254253
### Step-by-Step Guide

0 commit comments

Comments
 (0)
Please sign in to comment.