mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Ensure avatar component is stable (#3640)
This commit is contained in:
@@ -6,6 +6,7 @@ export default {
|
|||||||
title: "Component Library/Avatar",
|
title: "Component Library/Avatar",
|
||||||
component: AvatarComponent,
|
component: AvatarComponent,
|
||||||
args: {
|
args: {
|
||||||
|
id: undefined,
|
||||||
text: "Walt Walterson",
|
text: "Walt Walterson",
|
||||||
size: "default",
|
size: "default",
|
||||||
},
|
},
|
||||||
@@ -28,13 +29,11 @@ Default.args = {
|
|||||||
|
|
||||||
export const Large = Template.bind({});
|
export const Large = Template.bind({});
|
||||||
Large.args = {
|
Large.args = {
|
||||||
...Default.args,
|
|
||||||
size: "large",
|
size: "large",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const Small = Template.bind({});
|
export const Small = Template.bind({});
|
||||||
Small.args = {
|
Small.args = {
|
||||||
...Default.args,
|
|
||||||
size: "small",
|
size: "small",
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -45,7 +44,6 @@ LightBackground.args = {
|
|||||||
|
|
||||||
export const Border = Template.bind({});
|
export const Border = Template.bind({});
|
||||||
Border.args = {
|
Border.args = {
|
||||||
...Default.args,
|
|
||||||
border: true,
|
border: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user