1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-20 21:01:29 +01:00
bitwarden-browser/libs/vault/src/cipher-form/cipher-form.mdx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
621 B
Plaintext
Raw Normal View History

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