Update text input component

This commit is contained in:
adilallo
2026-02-04 11:29:51 -07:00
parent d8fa525514
commit 255f16477c
20 changed files with 589 additions and 949 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
import Create from "../app/components/Create";
import Input from "../app/components/Input";
import TextInput from "../app/components/TextInput";
export default {
title: "Components/Create",
@@ -57,7 +57,7 @@ Default.args = {
description: "You can also combine or add new approaches to the list",
children: (
<div className="space-y-4">
<Input label="Label" placeholder="Policy name" value="" />
<TextInput label="Label" placeholder="Policy name" value="" />
<p className="text-[12px] text-[var(--color-content-default-tertiary)]">
0/48
</p>
@@ -77,7 +77,7 @@ WithStepper.args = {
description: "You can also combine or add new approaches to the list",
children: (
<div className="space-y-4">
<Input label="Label" placeholder="Policy name" value="" />
<TextInput label="Label" placeholder="Policy name" value="" />
<p className="text-[12px] text-[var(--color-content-default-tertiary)]">
0/48
</p>
@@ -155,7 +155,7 @@ NextButtonDisabled.args = {
description: "You can also combine or add new approaches to the list",
children: (
<div className="space-y-4">
<Input label="Label" placeholder="Policy name" value="" />
<TextInput label="Label" placeholder="Policy name" value="" />
<p className="text-[12px] text-[var(--color-content-default-tertiary)]">
0/48
</p>