// @strict: true declare class Component
{ readonly props: Readonly<{ children?: unknown }> & Readonly
;
state: Readonly = Component ;
class CoachMarkAnchorDecorator {
decorateComponent (anchor: P) {
return class CoachMarkAnchor extends Component ) => {
const anchorRef = this.props.anchorRef;
if (anchorRef) {
anchorRef(anchor);
}
}
};
}
}
;
}
interface CoachMarkAnchorProps