Skip to content

Commit

Permalink
Clean up text in va-file-input-multiple story (#1328)
Browse files Browse the repository at this point in the history
* clean up text

* remove unnecessary class

* remove unnecessary uswds flag
  • Loading branch information
ataker authored Sep 11, 2024
1 parent f4b0f2b commit 5463bdb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ HeaderSize.args = {

const additionalFormInputsContent = (
<div>
<va-select className="hydrated" uswds label='What kind of file is this?' required>
<va-select label='What kind of file is this?' required>
<option key="1" value="1">Public Document</option>
<option key="2" value="2">Private Document</option>
</va-select>
Expand Down Expand Up @@ -115,15 +115,15 @@ const AdditionalFormInputsContentTemplate = ({
</VaFileInputMultiple>
<hr/>
<div>
<p>To add additional fields associated with some file, you can pass custom content into the slot of this component and it will render in each file input.</p>
<p>You can collect additional information about an uploaded file by passing inputs to the slot of this component. The slot content will render after a file is uploaded.</p>
<p>This example showcases how to include custom content, such as dropdowns, within the file input component.</p>
</div>
<div className="vads-u-margin-top--2">
<pre className="vads-u-font-size--sm vads-u-background-color--gray-lightest vads-u-padding--2">
<code>
{`const additionalFormInputsContent = (
<div>
<va-select className="hydrated" uswds label='What kind of file is this?' required>
<va-select label='What kind of file is this?' required>
<option key="1" value="1">Public Document</option>
<option key="2" value="2">Private Document</option>
</va-select>
Expand Down

0 comments on commit 5463bdb

Please sign in to comment.