-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgrade react to v17. Added radium and colors package to get Checkb…
…ox story partially functional.
- Loading branch information
Showing
3 changed files
with
156 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react' | ||
import Checkbox from '../../../polis/client-report/src/components/framework/checkbox' | ||
import settings from '../../../polis/client-report/src/settings' | ||
|
||
import '../../../polis/client-report/src/index.css'; | ||
|
||
export default { | ||
title: 'Client-Report/Checkbox (buggy)', | ||
component: Checkbox, | ||
} | ||
|
||
const Template = (args) => <Checkbox {...args} /> | ||
|
||
export const Default = Template.bind({}) | ||
Default.args = { | ||
label: "foo", | ||
disabled: false, | ||
checked: true, | ||
clickHandler: () => {}, | ||
labelPosition: "left", | ||
labelWrapperColor: settings.darkGray, | ||
color: settings.polisBlue, | ||
} |