// Utilities import { propsFactory } from '@/utils/propsFactory' // Types import type { PropType, StyleValue } from 'vue' export type ClassValue = any export interface ComponentProps { class?: ClassValue style: StyleValue | undefined } // Composables export const makeComponentProps = propsFactory( { class: [String, Array] as PropType, style: { type: [String, Array, Object] as PropType, default: null, }, }, 'component' )