import React from 'react'; import { Select, Typography } from 'antd'; import { IGroupBy } from '@/features/tasks/tasks.slice'; import { IGroupByOption } from '@/types/tasks/taskList.types'; const { Text } = Typography; const { Option } = Select; interface GroupingSelectorProps { currentGrouping: IGroupBy; onChange: (groupBy: IGroupBy) => void; options: IGroupByOption[]; disabled?: boolean; } const GroupingSelector: React.FC = ({ currentGrouping, onChange, options, disabled = false, }) => { return (
Group by:
); }; export default GroupingSelector;