import React from 'react';
import { Box, FormField, NumberInput } from '@wix/design-system';
export const CharactersLimitInput = ({ minLabel, maxLabel, value, onChange, }) => (React.createElement(Box, { gap: "SP3" },
    React.createElement(FormField, { label: minLabel },
        React.createElement(NumberInput, { value: value.minLength, onChange: (v) => onChange({ ...value, minLength: v ?? undefined }), min: 0 })),
    React.createElement(FormField, { label: maxLabel },
        React.createElement(NumberInput, { value: value.maxLength, onChange: (v) => onChange({ ...value, maxLength: v ?? undefined }), min: 0 }))));
//# sourceMappingURL=CharactersLimitInput.js.map