aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-docker/packages/ui/Button.tsx
blob: 4da1c65cb30cff77823223ed73b5075690e8cad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
import * as React from "react";

interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
  children: React.ReactNode;
}

export const Button = ({ children, ...rest }: ButtonProps) => {
  return <button {...rest}>{children}</button>;
};