mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-04-21 17:44:39 -06:00
update shape type to OrbitShape for better type safety
This commit is contained in:
@@ -124,6 +124,7 @@ import PreviewSwitch from '../../components/common/PreviewSwitch.vue';
|
||||
import PreviewSelect from '../../components/common/PreviewSelect.vue';
|
||||
import RefreshButton from '../../components/common/RefreshButton.vue';
|
||||
import OrbitImages from '../../content/Animations/OrbitImages/OrbitImages.vue';
|
||||
import type { OrbitShape } from '../../content/Animations/OrbitImages/OrbitImages.vue';
|
||||
import { orbitImages } from '@/constants/code/Animations/orbitImagesCode';
|
||||
import { useForceRerender } from '@/composables/useForceRerender';
|
||||
|
||||
@@ -138,7 +139,7 @@ const images = [
|
||||
'https://picsum.photos/300/300?grayscale&random=6'
|
||||
];
|
||||
|
||||
const shape = ref<string>('ellipse');
|
||||
const shape = ref<OrbitShape>('ellipse');
|
||||
const radiusX = ref(340);
|
||||
const radiusY = ref(80);
|
||||
const radius = ref(160);
|
||||
|
||||
Reference in New Issue
Block a user