Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
---
export interface Props extends Record<any, any> {
type?: string;
}
const { type, ...props } = {
...Astro.props,
} as Props;
props.type = type || "button";
<button {...props}><slot /></button>