@pnp/spfx-controls-react
Version:
Reusable React controls for SharePoint Framework solutions
29 lines • 789 B
TypeScript
import * as React from 'react';
import { ITermProps, ITermState } from './ITaxonomyPicker';
/**
* Term component
* Renders a selectable term
*/
export default class Term extends React.Component<ITermProps, ITermState> {
constructor(props: ITermProps);
/**
* Handle the checkbox change trigger
*/
private _handleChange;
/**
* Lifecycle event hook when component retrieves new properties
* @param nextProps
* @param nextContext
*/
UNSAFE_componentWillReceiveProps(nextProps: ITermProps, nextContext: any): void;
/**
* Get the right class name for the term
*/
private getClassName;
private termActionCallback;
/**
* Default React render
*/
render(): JSX.Element;
}
//# sourceMappingURL=Term.d.ts.map