First release

This commit is contained in:
Owen Quinlan 2021-07-02 19:29:34 +10:00
commit fa6c85266e
2339 changed files with 761050 additions and 0 deletions

View file

@ -0,0 +1,22 @@
import { boolean } from '@storybook/addon-knobs';
import classNames from 'classnames';
export default () => {
const isDark = boolean('is-dark', false);
const checkBoxClasses = classNames(
'nes-checkbox',
{
'is-dark': isDark,
},
);
return `
<div style="${isDark ? 'background-color: black;' : ''}">
<label>
<input type="checkbox" class="${checkBoxClasses}" checked />
<span>Enable</span>
</label>
</div>
`;
};