The const Template = (args) => <Button {...args} />;
line shows that the Template
doesn't make use of this
.
However, there is a Template.bind({})
that assigns this
to {}
during the execution of the WithMarker
function.
As this
is not being used, you could replace export const WithMarker = Template.bind({})
with export const WithMarker = Template
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…