Skip to content

MSFT-33 #2938

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

Merged
merged 4 commits into from
Jul 20, 2019
Merged

MSFT-33 #2938

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ exports[`Matches shallow shapshot 1`] = `
className="tc-outline-btn name src-shared-components-challenge-listing-Filters-FiltersSwitch-___style__FiltersSwitch___2ixiH"
onClick={[Function]}
onKeyPress={[Function]}
role="button"
tabIndex={0}
>
<FiltersIcon
className="src-shared-components-challenge-listing-Filters-FiltersSwitch-___style__FiltersIcon___OqBJh"
Expand All @@ -22,6 +24,8 @@ exports[`Matches shallow shapshot 2`] = `
className="tc-outline-btn name src-shared-components-challenge-listing-Filters-FiltersSwitch-___style__FiltersSwitch___2ixiH src-shared-components-challenge-listing-Filters-FiltersSwitch-___style__active___2wLTl"
onClick={[Function]}
onKeyPress={[Function]}
role="button"
tabIndex={0}
>
<FiltersIcon
className="src-shared-components-challenge-listing-Filters-FiltersSwitch-___style__FiltersIcon___OqBJh"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export default function FiltersSwitch({
return (
<div
styleName={className}
tabIndex={0}
role="button"
className={`tc-outline-btn ${propClassName || ''}`}
onClick={() => (onSwitch ? onSwitch(!active) : null)}
onKeyPress={() => (onSwitch ? onSwitch(!active) : null)}
Expand Down