1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-04 18:53:20 +00:00

update stories

This commit is contained in:
jaasen-livefront
2025-10-14 16:36:08 -07:00
parent 3f9d3f3829
commit d33ce066b5

View File

@@ -123,7 +123,7 @@ export const WithTextButton: Story = {
},
};
export const TruncateWithTitle: Story = {
export const Truncate: Story = {
render: (args) => ({
props: args,
template: `
@@ -135,12 +135,13 @@ export const TruncateWithTitle: Story = {
`,
}),
args: {
title: "Title",
title:
"This is a really long title that should truncate. Like really, really, really, ridiculously long title",
truncate: true,
},
};
export const TruncateWithoutTitle: Story = {
export const TruncateOnlyContent: Story = {
render: (args) => ({
props: args,
template: `
@@ -156,7 +157,7 @@ export const TruncateWithoutTitle: Story = {
},
};
export const TruncateWithoutContent: Story = {
export const TruncateOnlyTitle: Story = {
render: (args) => ({
props: args,
template: `
@@ -168,7 +169,7 @@ export const TruncateWithoutContent: Story = {
}),
args: {
title:
"This is a really long title that should truncate. Like really, really, really, ridiculously long title.",
"This is a really long title that should truncate. Like really, really, really, ridiculously long title",
truncate: true,
},
};