Can TreeSelect add a callback function to the clear button?

import React from "react";
import { TreeSelect, Button, Select } from "antd";
const SHOW_PARENT = TreeSelect.SHOW_PARENT;

 const config = {
      treeData,
      value: this.state.value,
      onChange: this.onSelect,
      treeCheckable: true,
      showCheckedStrategy: SHOW_PARENT,
      searchPlaceholder: "",
      maxTagCount: 1,
      multiple: true,
      size: 150,
      dropdownStyle: { maxHeight: "450px", overflow: "auto", position: "absolute" },
      allowClear: true,
      dropdownMatchSelectWidth: false,
      style: {
        width: 150,
      },
      onSearch: this.onSearch,
    };
    
    <TreeSelect {...config} />
    

because allowClear: true is used, can this clear button add a callback? I didn"t see it in the file.

Mar.30,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa091-1fa8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa091-1fa8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?