--- export interface Props extends Record { type?: string } const { type, ...props } = { ...Astro.props } as Props props.type = type || 'button' ---