Skip to content

Commit

Permalink
Storybook: Simplify Default export in URLInputButton story
Browse files Browse the repository at this point in the history
  • Loading branch information
SainathPoojary committed Dec 31, 2024
1 parent c2f7824 commit 182e326
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,4 @@ const meta = {

export default meta;

export const Default = {
render: function Template( { onChange, ...args } ) {
return (
<URLInputButton
{ ...args }
onChange={ ( ...changeArgs ) => {
onChange( ...changeArgs );
} }
/>
);
},
};
export const Default = {};

0 comments on commit 182e326

Please sign in to comment.