UNPKG

@theguild/components

Version:
15 lines (12 loc) 415 B
import { ReactElement } from 'react'; import { AnchorProps } from './anchor.mjs'; import 'url'; import '../types/components.mjs'; import 'next/image'; import 'next/link'; import 'react-player'; interface ButtonProps extends AnchorProps { variant?: 'primary' | 'secondary'; } declare const Button: ({ children, className, variant, ...props }: ButtonProps) => ReactElement; export { Button, type ButtonProps };