1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-17 09:59:41 +00:00

fix: [CL-601] Add storybook description

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
This commit is contained in:
Ben Brooks
2025-07-21 07:43:34 -07:00
parent ed81278f90
commit 702555242d
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ import { FocusableElement } from "../shared/focusable-element";
let nextId = 0;
/**
* Do not nest Search components inside another `<form>`, as they already contain their own standalone `<form>` element for searching.
*/
@Component({
selector: "bit-search",
templateUrl: "./search.component.html",

View File

@@ -1,4 +1,4 @@
import { Meta, Canvas, Source, Primary, Controls, Title } from "@storybook/addon-docs";
import { Meta, Canvas, Source, Primary, Controls, Title, Description } from "@storybook/addon-docs";
import * as stories from "./search.stories";
@@ -9,6 +9,7 @@ import { SearchModule } from "@bitwarden/components";
```
<Title>Search field</Title>
<Description />
<Primary />
<Controls />