import React from 'react'; import { TextInput, CollapsibleFieldSet } from '@mongodb-js/compass-components'; type TTL = { useTtl: boolean; toggleUseTtl: (useTtl: boolean) => void; ttl?: string; ttlChanged: (ttl: string) => void; }; const TTLCollapsibleFieldSet = ({ useTtl, toggleUseTtl, ttl, ttlChanged, }: TTL) => { return ( ttlChanged(e.target.value)} spellCheck={false} /> ); }; export default TTLCollapsibleFieldSet;