Skip to content

Commit

Permalink
DateFormatPicker: Swap import order and update prop type in DateForma…
Browse files Browse the repository at this point in the history
…tPicker story
  • Loading branch information
SainathPoojary committed Dec 16, 2024
1 parent bbe65d9 commit 78a090f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Internal dependencies
* WordPress dependencies
*/
import DateFormatPicker from '../';
import { useState } from '@wordpress/element';

/**
* WordPress dependencies
* Internal dependencies
*/
import { useState } from '@wordpress/element';
import DateFormatPicker from '../';

export default {
title: 'BlockEditor/DateFormatPicker',
Expand Down Expand Up @@ -34,7 +34,7 @@ export default {
description:
'The selected date format. If `null`, _Default_ is selected.',
table: {
type: { summary: 'string' },
type: { summary: 'string | null' },
},
},
onChange: {
Expand Down

0 comments on commit 78a090f

Please sign in to comment.