Skip to content

Commit

Permalink
fix(types): fixed typings for TypingIndicator, content can be a React…
Browse files Browse the repository at this point in the history
…Node
  • Loading branch information
supersnager committed Dec 16, 2022
1 parent f37ca2f commit 4f5d2db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TypingIndicator/TypingIndicator.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type {ReactElement} from "react";
import type {ReactElement, ReactNode} from "react";
import type {ChatComponentProps} from "../../types";

export interface TypingIndicatorProps {
content?:string;
content?:ReactNode;
}

export declare const TypingIndicator: (props:ChatComponentProps<TypingIndicatorProps, "div">) => ReactElement;
Expand Down

0 comments on commit 4f5d2db

Please sign in to comment.