huge push of backend and frontend to dos to finish wiring up and UI display

This commit is contained in:
KS Jannette
2026-02-11 14:40:45 -05:00
parent fcc8dbe9f7
commit b60faa42d4
11 changed files with 163 additions and 56 deletions

View File

@@ -1,11 +1,14 @@
import { useState } from 'react';
const Button = () => {
return (
<button>
Click me
</button>
);
type ClusterButtonProps = {
onClick: () => void;
isLoading: boolean;
};
export default Button;
const ClusterButton = ({ onClick, isLoading }: ClusterButtonProps) => {
return (
<button onClick={onClick} disabled={isLoading}>
{isLoading ? 'Clustering...' : 'Run Clustering'}
</button>
);
};
export default ClusterButton;