Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自動翻訳、自動校正の設定が可能に (自動で実行されるのを止めることが可能に) #323

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

tbrand
Copy link
Contributor

@tbrand tbrand commented Feb 20, 2024

No description provided.


type Props = BaseProps & {
checked: boolean;
onChange: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Input 系のコンポーネントは、onChangeの引数が変更後の値であることが多いと思うので、こちらもそれに合わせてonChange(newValue or Event) => voidの方が自然かなと思いました。
(Switchに関しては反転するだけなので、引数なし�も処理はできますが・・・)

Copy link
Contributor

@wadabee wadabee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@wadabee wadabee merged commit 3365fa3 into main Feb 20, 2024
1 check passed
@wadabee wadabee deleted the auto branch February 20, 2024 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants