Fixing lint issues (#15782)

feature/default_network_editable
George Marshall 2 years ago committed by GitHub
parent 34e2faaf49
commit e7c72bc96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/components/app/collectible-default-image/collectible-default-image.stories.js
  2. 11
      ui/components/component-library/avatar-network/avatar-network.stories.js
  3. 10
      ui/components/component-library/avatar-token/avatar-token.stories.js

@ -30,13 +30,13 @@ export const DefaultStory = (args) => (
DefaultStory.storyName = 'Default';
export const handleImageClick = (args) => (
export const HandleImageClick = (args) => (
<div style={{ width: 200, height: 200 }}>
<CollectibleDefaultImage {...args} />
</div>
);
handleImageClick.args = {
HandleImageClick.args = {
// eslint-disable-next-line no-alert
handleImageClick: () => window.alert('CollectibleDefaultImage clicked!'),
};

@ -61,6 +61,7 @@ export default {
const Template = (args) => {
return <AvatarNetwork {...args} />;
};
export const DefaultStory = Template.bind({});
DefaultStory.storyName = 'Default';
@ -74,15 +75,15 @@ export const Size = (args) => (
</Box>
);
export const networkName = Template.bind({});
networkName.args = {
export const NetworkName = Template.bind({});
NetworkName.args = {
networkImageUrl: '',
};
export const networkImageUrl = Template.bind({});
export const NetworkImageUrl = Template.bind({});
export const showHalo = Template.bind({});
showHalo.args = {
export const ShowHalo = Template.bind({});
ShowHalo.args = {
showHalo: true,
};

@ -75,15 +75,15 @@ export const Size = (args) => (
</Box>
);
export const tokenName = Template.bind({});
tokenName.args = {
export const TokenName = Template.bind({});
TokenName.args = {
tokenImageUrl: '',
};
export const tokenImageUrl = Template.bind({});
export const TokenImageUrl = Template.bind({});
export const showHalo = Template.bind({});
showHalo.args = {
export const ShowHalo = Template.bind({});
ShowHalo.args = {
showHalo: true,
};

Loading…
Cancel
Save