import { boolean } from '@storybook/addon-knobs'; import classNames from 'classnames'; export default () => { const isBorderd = boolean('is-bordered', true); const isCentered = boolean('is-centered', false); const isDark = boolean('is-dark', false); const tableClasses = classNames( 'nes-table', { 'is-bordered': isBorderd, 'is-centered': isCentered, 'is-dark': isDark, }, ); return `
Table.is-dark | Table.is-bordered | Table.is-centered |
---|---|---|
Thou hast had a good morning | Thou hast had a good afternoon | Thou hast had a good night |
Thou hast had a good morning | Thou hast had a good afternoon | Thou hast had a good night |