Skip to content

Commit

Permalink
fix(additional): more porps
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmen committed Nov 14, 2023
1 parent 58e73a7 commit 2e20616
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/inputs/InputGroup/InputAddition.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {css} from "@emotion/react";
import styled from "@emotion/styled";
import classnames from "classnames";
import {FC, ReactNode} from "react";
import {FC, HTMLAttributes} from "react";
import {useTheme} from "../../hooks";
import {ThemeProp} from "../../providers";
import {SizeType, StyleProps} from "../../types";
Expand All @@ -11,8 +11,7 @@ import {classnameGroup, classnameItem} from "./InputGroup";

export type InputAdditionProps = {
size?: SizeType;
children?: ReactNode;
} & StyleProps;
} & StyleProps & Omit<HTMLAttributes<HTMLDivElement>, 'size'>;

export const InputAddition: FC<InputAdditionProps> = ({size = 'normal', className, style, children}) => {
const theme = useTheme('secondary');
Expand Down

0 comments on commit 2e20616

Please sign in to comment.