import { useState } from 'react'; import { useConnectionStore } from '../../store/connectionStore'; import { SteelDatabaseModal, type SteelShape } from '../SteelDatabaseModal'; export const BeamInput = () => { const { beam, setBeam, materials, setMaterials } = useConnectionStore(); const [isModalOpen, setIsModalOpen] = useState(false); const handleShapeSelect = (shape: SteelShape) => { setBeam({ designation: shape.designation, d: shape.d, tw: shape.tw, tf: shape.tf, bf: shape.bf, }); }; return ( <>