storybook/docs/snippets/common/component-story-sort-controls.js.mdx
2021-03-15 17:29:18 +08:00

11 lines
238 B
Plaintext

```js
// YourComponent.stories.js | YourComponent.stories.ts
import { YourComponent } from './your-component'
export default {
title:'My Story',
component: YourComponent,
parameters: { controls: { sort: 'requiredFirst' } },
};
```