1
0
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:
Oscar Hinton
2022-09-29 18:57:35 +02:00
committed by GitHub
parent a0e89af120
commit 1fbfb89cc3

View File

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