refactor(ui): replaced some n-input to c-input (#505)

This commit is contained in:
Corentin THOMASSET 2023-06-25 15:00:50 +02:00 committed by GitHub
parent 5c3bebfe62
commit 05ea545475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 189 additions and 235 deletions

View file

@ -103,15 +103,18 @@ const sections: UserAgentResultSection[] = [
<template>
<div>
<n-form-item label="User agent string">
<n-input
v-model:value="ua"
type="textarea"
placeholder="Put your user-agent here..."
clearable
:autosize="{ minRows: 2 }"
/>
</n-form-item>
<c-input-text
v-model:value="ua"
label="User agent string"
multiline
placeholder="Put your user-agent here..."
clearable
raw-text
rows="2"
autosize
monospace
mb-3
/>
<UserAgentResultCards :user-agent-info="userAgentInfo" :sections="sections" />
</div>