import type {Meta, StoryObj} from '@storybook/web-components'; import {ObcRudder} from './rudder'; import './rudder'; import {widthDecorator} from '../../storybook-util'; const meta: Meta = { title: 'Navigation Instruments/Rudder', tags: ['autodocs', '6.0'], component: 'obc-rudder', args: { width: 512, angle: 30, setpoint: 45, maxAngle: 90, }, argTypes: { width: {control: {type: 'range', min: 32, max: 1028, step: 1}}, angle: {control: {type: 'range', min: -90, max: 90, step: 1}}, maxAngle: {control: {type: 'range', min: 1, max: 90, step: 1}}, setpoint: {control: {type: 'range', min: -90, max: 90, step: 1}}, }, decorators: [widthDecorator], } satisfies Meta; export default meta; type Story = StoryObj; export const Primary: Story = { args: {}, };