mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
[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>
This commit is contained in:
committed by
GitHub
parent
beeb0354fd
commit
1320d96cb4
17
libs/tools/send/send-ui/src/send-form/send-form.mdx
Normal file
17
libs/tools/send/send-ui/src/send-form/send-form.mdx
Normal file
@@ -0,0 +1,17 @@
|
||||
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"]} />
|
||||
Reference in New Issue
Block a user