Merge pull request #30 from jhanma17dev/Feat-add-folder-component

feat: Add folder component
This commit is contained in:
David
2025-07-19 19:25:19 +03:00
committed by GitHub
5 changed files with 352 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import code from '@content/Components/Folder/Folder.vue?raw';
import type { CodeObject } from '../../../types/code';
export const folder: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Components/Folder`,
usage: `<template>
<Folder :items="items" :size="2" color="#5227FF" class="my-folder-class" />
</template>
<script setup lang="ts">
import Folder from "./Folder.vue";
const items = ['Doc 1', 'Doc 2', 'Doc 3'];
</script>`,
code
};