Skip to content

Commit

Permalink
fix input
Browse files Browse the repository at this point in the history
  • Loading branch information
silvalaura committed Dec 18, 2024
1 parent 0daa8c7 commit ac48694
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-magma-dom/src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useGenerateId } from '../../utils';
import {
FormFieldContainer,
FormFieldContainerBaseProps,
FormFieldContainerProps,
// FormFieldContainerProps,
} from '../FormFieldContainer';
import {
getHelpIconButtonSize,
Expand All @@ -22,11 +22,11 @@ import { ThemeInterface } from '../../theme/magma';
const typedStyled = styled as CreateStyled<ThemeInterface>;

const getLabelStyles = (
props: FormFieldContainerProps &
props: InputProps &
React.RefAttributes<HTMLDivElement> & { theme?: ThemeInterface } & {
labelPosition?: LabelPosition;
InputSize?: InputSize;
} & { theme: ThemeInterface }
}
) => {
const marginBlock = isLeftOrHidden(props)
? '0'
Expand Down

0 comments on commit ac48694

Please sign in to comment.