1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import { PropType } from 'vue'; export interface BasicProps { width: string; height: string; } export const basicProps = { width: { type: String as PropType<string>, default: '100%', }, height: { type: String as PropType<string>, default: '280px', }, };