feat: deal product services
This commit is contained in:
@@ -6,10 +6,11 @@ import RangePriceInput, {PriceRangeInputType} from "./RangePriceInput.tsx";
|
||||
type Props = {
|
||||
singlePriceInputProps: PriceInputType;
|
||||
priceRangeInputProps: PriceRangeInputType;
|
||||
|
||||
}
|
||||
|
||||
const ServicePriceInput: FC<Props> = ({priceRangeInputProps, singlePriceInputProps}) => {
|
||||
const [isUsingRange, setIsUsingRange] = useState<boolean>(true);
|
||||
const [isUsingRange, setIsUsingRange] = useState<boolean>(priceRangeInputProps.value.length > 0);
|
||||
return (
|
||||
<>
|
||||
<Flex
|
||||
|
||||
Reference in New Issue
Block a user