Skip to content

Commit

Permalink
feat(TextInput, PhoneInput, MoneyInput, Numeric)!: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryMatte committed Jan 9, 2025
1 parent da2ccb6 commit 846a34f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export interface FieldContainerProps {
noInvalidFieldIcon?: boolean;
noMargin?: boolean;
required?: boolean;
readOnly?: boolean;
tooltip?: TooltipProps;
valid: boolean;
validationErrorMessage: string;
Expand All @@ -60,7 +59,6 @@ export const FieldContainer: FunctionComponent<PropsWithChildren<FieldContainerP
noInvalidFieldIcon,
noMargin,
required,
readOnly,
tooltip,
valid,
validationErrorMessage,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/money-input/money-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const MoneyInput: VoidFunctionComponent<MoneyInputProps> = ({
$textAlignment={textAlignment}
id={providedId}
className={className}
readOnly={readOnly}
readOnly={readOnly}
required={required}
disabled={disabled}
ref={inputElement}
Expand Down
3 changes: 1 addition & 2 deletions packages/react/src/components/text-input/text-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ export const TextInput = forwardRef(({
noMargin={noMargin}
fieldId={fieldId}
label={label}
readOnly={readOnly}
required={required}
tooltip={tooltip}
valid={validity}
Expand All @@ -253,7 +252,7 @@ export const TextInput = forwardRef(({
<StyledWrapper
className={textInputClasses.control}
$disabled={disabled}
$valid={validity}
$valid={validity}
$readOnly={readOnly}
>
{leftAdornment && (
Expand Down

0 comments on commit 846a34f

Please sign in to comment.