1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00
Files
browser/libs/tools/send/send-ui/src/send-form/send-form.mdx
Daniel James Smith 1320d96cb4 [PM-9869] Create SendFormContainer (#10147)
* Move SendV2component into send-v2 subFolder

* Create SendFormContainer and related services

* Add initial SendFormComponent which uses the SendFormContainer

* Remove AdditionalOptionsSectionComponent which will be added with a future PR

* Add libs/tools/send to root tsconfig

* Register libs/tools/send/send-ui with root jest.config.js

* Register libs/tools/send/send-ui with root tailwind.config.js

* Fix service injection on DefaultSendFormService

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-07-19 21:17:52 +02:00

18 lines
607 B
Plaintext

import { Controls, Meta, Primary } from "@storybook/addon-docs";
import * as stories from "./send-form.stories";
<Meta of={stories} />
# Send Form
The send form is a re-usable form component that can be used to create, update, and clone sends. It
is configured via a `SendFormConfig` object that is passed to the component as a prop. The
`SendFormConfig` object can be created manually, or a `SendFormConfigService` can be used to create
it. A default implementation of the `SendFormConfigService` exists in the `@bitwarden/send-ui`
library.
<Primary />
<Controls include={["config", "submitBtn"]} />