diff --git a/src/components/ui/input-group.tsx b/src/components/ui/input-group.tsx index 1124a61..49ee065 100644 --- a/src/components/ui/input-group.tsx +++ b/src/components/ui/input-group.tsx @@ -1,19 +1,19 @@ -import type { BoxProps, InputElementProps } from "@chakra-ui/react" -import { Group, InputElement } from "@chakra-ui/react" -import * as React from "react" +import type { BoxProps, InputElementProps } from "@chakra-ui/react"; +import { Group, InputElement } from "@chakra-ui/react"; +import * as React from "react"; export interface InputGroupProps extends BoxProps { - startElementProps?: InputElementProps - endElementProps?: InputElementProps - startElement?: React.ReactNode - endElement?: React.ReactNode - children: React.ReactElement - startOffset?: InputElementProps["paddingStart"] - endOffset?: InputElementProps["paddingEnd"] + startElementProps?: InputElementProps; + endElementProps?: InputElementProps; + startElement?: React.ReactNode; + endElement?: React.ReactNode; + children: React.ReactElement; + startOffset?: InputElementProps["paddingStart"]; + endOffset?: InputElementProps["paddingEnd"]; } export const InputGroup = React.forwardRef( - function InputGroup(props, ref) { + (props, ref) => { const { startElement, startElementProps, @@ -23,7 +23,7 @@ export const InputGroup = React.forwardRef( startOffset = "6px", endOffset = "6px", ...rest - } = props + } = props; return ( @@ -45,6 +45,6 @@ export const InputGroup = React.forwardRef( )} - ) + ); }, -) +);