feat: Add folder component

This commit is contained in:
jhanma17
2025-07-16 22:40:22 -05:00
parent 337c40bf7f
commit 35cfd2ae4e
5 changed files with 362 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
};