import Button from './button'; import { Dropdown } from './dropdown-button'; const expasyPrefixUrl = '//web.expasy.org/cgi-bin'; const sequenceTools = [ { name: 'ProtParam', url: '/protparam/protparam?', }, { name: 'ProtScale', url: '/protscale/protscale.pl?', }, { name: 'Compute pI/Mw', url: '/compute_pi/pi_tool?', }, { name: 'PeptideMass', url: '/peptide_mass/peptide-mass.pl?', }, { name: 'PeptideCutter', url: '/peptide_cutter/peptidecutter.pl?', }, ] as const; export type SequenceToolName = (typeof sequenceTools)[number]['name']; const visibleElement = (onClick: () => unknown) => ( ); type SequenceToolsProps = { accession: string; onBlastClick?: () => void; tools?: SequenceToolName[]; }; const SequenceTools = ({ accession, onBlastClick, tools, }: SequenceToolsProps) => { const applicableTools = tools || sequenceTools.map((tool) => tool.name); return ( ); }; export default SequenceTools;