Sha256: a4a63ea1a5c74ee30c3b54488f69289d622d6a9582b191869a090e6da36932ba
Contents?: true
Size: 446 Bytes
Versions: 10
Compression:
Stored size: 446 Bytes
Contents
import React, { useEffect } from 'react' import { components } from 'react-select' const ClearContainer = (props: any): React.ReactElement => { const { selectProps, clearValue } = props useEffect(() => { document.addEventListener(`pb-typeahead-kit-${selectProps.id}:clear`, clearValue) }, []) return ( <components.ClearIndicator className="clear_indicator" {...props} /> ) } export default ClearContainer
Version data entries
10 entries across 10 versions & 1 rubygems