mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
18 lines
558 B
JavaScript
18 lines
558 B
JavaScript
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
export default {
|
|
title: 'Addon/a11y',
|
|
parameters: {
|
|
options: { selectedPanel: '@storybook/a11y/panel' },
|
|
},
|
|
};
|
|
|
|
export const Default = () => hbs`<button></button>`;
|
|
export const Label = () => hbs`<button>Testing the a11y addon</button>`;
|
|
export const Disabled = () => hbs`<button disabled>Testing the a11y addon</button>`;
|
|
|
|
export const InvalidContrast = () =>
|
|
hbs`<button style="color: black; background-color: brown;">Testing the a11y addon</button>`;
|
|
|
|
InvalidContrast.storyName = 'Invalid contrast';
|