MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

packages/sanddance-explorer/src/dialogs/chart.tsx:90–97  ·  view source on GitHub ↗
(props: Props)

Source from the content-addressed store, hash-verified

88 class __Chart extends base.react.Component<Props, State> {
89 private choiceRef?: React.RefObject<FluentUITypes.IChoiceGroup>;
90 constructor(props: Props) {
91 super(props);
92 this.state = {
93 showTooltipDialog: false,
94 };
95 this.choiceRef = base.react.createRef<FluentUITypes.IChoiceGroup>();
96 props.explorer.dialogFocusHandler.focus = () => this.choiceRef.current?.focus();
97 }
98
99 render() {
100 const { props } = this;

Callers

nothing calls this directly

Calls 1

focusMethod · 0.45

Tested by

no test coverage detected