-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(types): fixed typings for ExpansionPanel
- Loading branch information
1 parent
84e6a65
commit 9f9411f
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |