Skip to content

Commit ca4d009

Browse files
committed
add docs to input right icon
1 parent b8ffdf9 commit ca4d009

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

adminforth/documentation/docs/tutorial/03-Customization/15-afcl.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,37 @@ import { Input } from '@/afcl'
240240
</template>
241241
</Input>
242242
```
243+
243244
</div>
244245
<div>
245246
![AFCL Input](image-46.png)
246247
</div>
247248
</div>
248249

249250

251+
<div class="split-screen" >
252+
<div >
253+
```js
254+
import { Input } from '@/afcl'
255+
import { IconSearchOutline } from '@iconify-prerendered/vue-flowbite'
256+
```
257+
258+
259+
```html
260+
<Input type="text" class="w-full">
261+
<template #rightIcon>
262+
<IconSearchOutline class="w-5 h-5 text-gray-400"/>
263+
</template>
264+
</Input>
265+
```
266+
267+
268+
</div>
269+
<div>
270+
![AFCL Input](inputRightIcon.png)
271+
</div>
272+
</div>
273+
250274
## Tooltip
251275

252276
Wrap an element on which you would like to show a tooltip with the `Tooltip` component and add a `tooltip` slot to it.
2.89 KB
Loading

0 commit comments

Comments
 (0)