API Reference > ui-core > Tree > ExpansionToggle > constructor constructor Method Overloads constructorExpansionToggle(props) constructorExpansionToggle(props, context?) Deprecated ExpansionToggle(props) ExpansionToggle(props: Readonly<ExpansionToggleProps>): ExpansionToggle Parameter Type Description props Readonly<ExpansionToggleProps> Returns - ExpansionToggle ExpansionToggle(props, context?) Deprecated ExpansionToggle(props: ExpansionToggleProps, context?: any): ExpansionToggle see https://reactjs.org/docs/legacy-context.html Parameter Type Description props ExpansionToggleProps context any Returns - ExpansionToggle Last Updated: 11 June, 2024