You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
337 B
JavaScript
13 lines
337 B
JavaScript
import { Select } from 'antd';
|
|
import { useProductsAuditStates } from '@/hooks/useProductsSets';
|
|
|
|
const AuditStateSelector = ({ ...props }) => {
|
|
const states = useProductsAuditStates();
|
|
return (
|
|
<>
|
|
<Select labelInValue allowClear options={states} {...props}/>
|
|
</>
|
|
);
|
|
};
|
|
export default AuditStateSelector;
|