Skip to content

Commit

Permalink
Merge pull request #184 from reaviz/fix-inline-input-type
Browse files Browse the repository at this point in the history
Fix type for inline input component
  • Loading branch information
amcdnl authored May 14, 2024
2 parents 8b90127 + f54b713 commit f31bbde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/form/Input/InlineInput/InlineInput.story.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState } from 'react';
import React, { useState } from 'react';
import { InlineInput } from './InlineInput';

export default {
Expand Down
4 changes: 2 additions & 2 deletions src/form/Input/InlineInput/InlineInput.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { FC, forwardRef, Ref, InputHTMLAttributes } from 'react';
import React, { forwardRef, Ref, InputHTMLAttributes } from 'react';
import AutosizeInput from 'react-18-input-autosize';
import { twMerge } from 'tailwind-merge';
import { InputTheme } from '@/form/Input/InputTheme';
Expand Down Expand Up @@ -37,7 +37,7 @@ export interface InlineInputProps
theme?: InputTheme;
}

export const InlineInput: FC<InlineInputProps> = forwardRef(
export const InlineInput = forwardRef<HTMLDivElement, InlineInputProps>(
(
{
inputClassName,
Expand Down

0 comments on commit f31bbde

Please sign in to comment.