forked from React-Group/interstellar_ai
17 lines
No EOL
348 B
TypeScript
17 lines
No EOL
348 B
TypeScript
// AI.tsx
|
|
import React from 'react';
|
|
import InputOutputBackend from '../backend/InputOutputHandler';
|
|
|
|
interface AIProps{
|
|
selectedIndex:number
|
|
}
|
|
|
|
const AI: React.FC<AIProps> = ({selectedIndex}) => {
|
|
return (
|
|
<div className="ai-container">
|
|
<InputOutputBackend selectedIndex={selectedIndex}/>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default AI; |