Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
feat(Input): Placeholder creado para Input
Browse files Browse the repository at this point in the history
  • Loading branch information
fravilpae committed Feb 29, 2024
1 parent a3c1f94 commit 8237de0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/BaseInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<input
v-model="value"
type="text"
class="validate-style rounded-xl border placeholder:text-slate-400 focus-visible:outline-none" />
class="validate-style rounded-xl border focus-visible:outline-none"
:placeholder="placeholder" />
</div>
</template>

Expand All @@ -20,6 +21,10 @@ const props = defineProps({
validators: {
type: Array<Fn>,
default: []
},
placeholder: {
type: String,
default:''
}
});
Expand Down

0 comments on commit 8237de0

Please sign in to comment.