akiran / akiran/react-slick

Warning: React does not recognize the `buttonText` prop on a DOM element.

オープン
#1,564 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Guidelines for posting a new issue

* Please replicate your issue with this [CodeSandBox](https://codesandbox.io/s/ppwkk5l6xx) and provide a link to it along with the issue description

how to solve this problem

const x = e.pageX - e.target.offsetLeft;
const y = e.pageY - e.target.offsetTop;
e.target.style.setProperty('--x', `${x}px`);
e.target.style.setProperty('--y', `${y}px`);
};
handleStart = event => {
event.preventDefault();
this.props.onStart();
};
render() {
return (

{this.props.buttonText}

);
}
}
ListenerButton.defaultProps = {
buttonText: 'Click me to listen',
};

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。