前端项目实战捌拾react-admin+material ui-踩坑-List的用法之actions中<FilterButton/>需要进行配置

我是歌谣 这里是歌谣的前端笔记小屋 想加入前端巅峰人才交流群私信我

 FilterButton需要进行配置

const ListActions = () => (
    <TopToolbar>
         <FilterButton/> 
        <CreateButton/>
        <ExportButton/>
        {/* Add your custom actions */}
        <Button
            onClick={() => { alert('Your custom action'); }}
            label="Show calendar"
        >
            <IconEvent/>
        </Button>
    </TopToolbar>
);

posted @ 2023-07-26 08:51  前端导师歌谣  阅读(14)  评论(0)    收藏  举报  来源