mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
24 lines
562 B
TypeScript
24 lines
562 B
TypeScript
import code from '@content/TextAnimations/TextPressure/TextPressure.vue?raw';
|
|
import { createCodeObject } from '@/types/code';
|
|
|
|
export const textPressure = createCodeObject(code, 'TextAnimations/TextPressure', {
|
|
usage: `<template>
|
|
<TextPressure
|
|
text="Hello!"
|
|
:flex="true"
|
|
:alpha="false"
|
|
:stroke="false"
|
|
:width="true"
|
|
:weight="true"
|
|
:italic="true"
|
|
text-color="#ffffff"
|
|
stroke-color="#27FF64"
|
|
:min-font-size="36"
|
|
/>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import TextPressure from "./TextPressure.vue";
|
|
</script>`
|
|
});
|