Skip to content

Commit

Permalink
Direction arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Oct 3, 2023
1 parent 511f69c commit 824d9cc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/uui-split-panel/lib/uui-split-panel.story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ import './uui-split-panel.element';
import type { UUISplitPanelElement } from './uui-split-panel.element';
import readme from '../README.md?raw';

const direction = ['ltr', 'rtl'];

const meta: Meta<UUISplitPanelElement> = {
id: 'uui-split-panel',
title: 'Split Panel',
component: 'uui-split-panel',
argTypes: {
direction: {
options: direction,
control: { type: 'radio' },
},
},
parameters: {
readme: { markdown: readme },
docs: {
Expand Down

0 comments on commit 824d9cc

Please sign in to comment.