Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Correct docs for Input and Dropdown #2479

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/snaps-sdk/src/jsx/components/form/Dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ type DropdownProps = {
const TYPE = 'Dropdown';

/**
* A dropdown component, which is used to create a dropdown. This component
* can only be used as a child of the {@link Field} component.
* A dropdown component, which is used to create a dropdown.
*
* @param props - The props of the component.
* @param props.name - The name of the dropdown field. This is used to identify the
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-sdk/src/jsx/components/form/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ type InputProps = {
const TYPE = 'Input';

/**
* An input component, which is used to create an input field. This component
* can only be used as a child of the {@link Field} component.
* An input component, which is used to create an input field.
*
* @param props - The props of the component.
* @param props.name - The name of the input field. This is used to identify the
Expand Down
Loading