/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import '@material/web/radio/radio.js'; import { labelStyles, MaterialStoryInit, } from './material-collection.js'; import {css, html} from 'lit'; /** Knob types for radio stories. */ export interface StoryKnobs { disabled: boolean; } const radio: MaterialStoryInit = { name: 'Radios', render({disabled}) { return html`
`; }, }; const withLabels: MaterialStoryInit = { name: 'With labels', styles: [ labelStyles, css` .column { display: flex; flex-direction: column; } .radio-label { display: flex; align-items: center; } `, ], render({disabled}) { return html`
`; }, }; /** Radio stories. */ export const stories = [radio, withLabels];