1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fixing lint issues (#15782)

This commit is contained in:
George Marshall 2022-09-12 08:32:09 -07:00 committed by GitHub
parent 34e2faaf49
commit e7c72bc96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 12 deletions

View File

@ -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!'),
};

View File

@ -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,
};

View File

@ -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,
};