interstellar_ai/app/components/AI.tsx

17 lines
348 B
TypeScript
Raw Normal View History

2024-09-19 09:54:00 +02:00
// AI.tsx
import React from 'react';
2024-09-20 10:34:16 +02:00
import InputOutputBackend from '../backend/InputOutputHandler';
2024-09-19 09:54:00 +02:00
2024-10-07 16:41:31 +02:00
interface AIProps{
selectedIndex:number
}
const AI: React.FC<AIProps> = ({selectedIndex}) => {
2024-09-19 09:54:00 +02:00
return (
<div className="ai-container">
2024-10-07 16:41:31 +02:00
<InputOutputBackend selectedIndex={selectedIndex}/>
</div>
2024-09-19 09:54:00 +02:00
);
};
export default AI;