Skip to content

Commit

Permalink
fix(types): fixed typings for ExpansionPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
supersnager committed Jul 18, 2022
1 parent 84e6a65 commit 9f9411f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ExpansionPanel/ExpansionPanel.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type {ReactElement} from "react";
import type {ChatComponentProps} from "../../types";
import type {ChatComponentPropsChildren} from "../../types";

export interface ExpansionPanelProps {
title?:string;
open?:boolean;
}

export declare const ExpansionPanel: (props:ChatComponentProps<ExpansionPanelProps,"div">) => ReactElement;
export declare const ExpansionPanel: (props:ChatComponentPropsChildren<ExpansionPanelProps,"div">) => ReactElement;

export default ExpansionPanel;

0 comments on commit 9f9411f

Please sign in to comment.