mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
22 lines
355 B
TypeScript
22 lines
355 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
interface ButtonProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export function Button({ children }: ButtonProps) {
|
|
return (
|
|
<button
|
|
style={{
|
|
padding: 16,
|
|
border: 'none',
|
|
cursor: 'pointer',
|
|
background: 'none',
|
|
color: 'inherit',
|
|
}}
|
|
>
|
|
{children}
|
|
</button>
|
|
);
|
|
}
|