Skip to content

Should be accessible via keyboard #32

Description

@VipEvel

What can be done is wrap it in a button or an anchor tag and pass the click function else you can make it like it will use onclick function if defined otherwise checked variable will have the value from props.

const toggle = () => onChange(!checked);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions