azure-devops-ui
Version:
React components for building web UI in Azure DevOps
8 lines (7 loc) • 340 B
TypeScript
import { IEventDispatch } from '../Utilities/Dispatch';
export interface IBehavior<P, C> {
initialize?: (props: Readonly<P>, component: C, eventDispatch: IEventDispatch) => void;
componentDidMount?: (props: Readonly<P>) => void;
componentDidUpdate?: (props: Readonly<P>) => void;
componentWillUnmount?: () => void;
}