Create <Counter /> component

This commit is contained in:
Alfarish Fizikri
2025-07-23 09:16:28 +07:00
parent 53c5b5e208
commit 82f1a6fcbd
5 changed files with 434 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
import code from '@content/Components/Counter/Counter.vue?raw'
import { createCodeObject } from '../../../types/code'
export const counter = createCodeObject(code, 'Components/Counter', {
installation: `npm i motion-v`,
usage: `import Counter from './Counter.vue'
<Counter
:value="1"
:places="[100, 10, 1]"
:fontSize="80"
:padding="5"
:gap="10"
textColor="white"
:fontWeight="900"
/>`,
})