Skip to content

Commit

Permalink
Fix #6420: Added Fragment at doc (#6421)
Browse files Browse the repository at this point in the history
* Fix#6415

* Style add
  • Loading branch information
Rekl0w authored Apr 19, 2024
1 parent b4b17be commit 6080b5e
Showing 1 changed file with 30 additions and 24 deletions.
54 changes: 30 additions & 24 deletions components/doc/iconfield/basicdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ import { InputText } from "primereact/inputtext";
export default function BasicDemo() {
return (
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
</IconField>
<div className="flex gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
</IconField>
<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
</IconField>
<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
</IconField>
</div>
)
}
`,
Expand All @@ -46,15 +48,17 @@ import { InputText } from "primereact/inputtext";
export default function BasicDemo() {
return (
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
</IconField>
<div className="flex gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search"> </InputIcon>
<InputText v-model="value1" placeholder="Search" />
</IconField>
<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
</IconField>
<IconField>
<InputIcon className="pi pi-spin pi-spinner"> </InputIcon>
<InputText v-model="value2" />
</IconField>
</div>
)
}
`
Expand All @@ -68,15 +72,17 @@ export default function BasicDemo() {
</p>
</DocSectionText>
<div className="card flex flex-wrap justify-content-center gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search" />
<InputText v-model="value1" placeholder="Search" />
</IconField>
<div className="flex gap-3">
<IconField iconPosition="left">
<InputIcon className="pi pi-search" />
<InputText v-model="value1" placeholder="Search" />
</IconField>

<IconField>
<InputIcon className="pi pi-spin pi-spinner" />
<InputText v-model="value2" />
</IconField>
<IconField>
<InputIcon className="pi pi-spin pi-spinner" />
<InputText v-model="value2" />
</IconField>
</div>
</div>
<DocSectionCode code={code} />
</>
Expand Down

0 comments on commit 6080b5e

Please sign in to comment.