feat: base pages and news fetching with cron job
This commit is contained in:
10
components/Button.tsx
Normal file
10
components/Button.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
interface ButtonProps {
|
||||
label: string;
|
||||
onClick: () => void;
|
||||
}
|
||||
|
||||
export const Button = ({ label, onClick }: ButtonProps) => (
|
||||
<button onClick={onClick} key={1} className="overflow-hidden rounded-md">
|
||||
<h1>{label}</h1>
|
||||
</button>
|
||||
);
|
||||
Reference in New Issue
Block a user