@@ -64,7 +64,10 @@ export function Controlled() {
|
||||
</SelectPopup>
|
||||
</Select>
|
||||
</div>
|
||||
<span className="text-2 text-sand-11">Selected: {value ?? "none"}</span>
|
||||
<span className="text-2 text-sand-11">
|
||||
Selected:
|
||||
{value ?? "none"}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -46,7 +46,10 @@ export function Controlled() {
|
||||
<div className="w-60">
|
||||
<TextField value={value} onValueChange={setValue} placeholder="Type here" />
|
||||
</div>
|
||||
<span className="text-2 text-sand-11">Value: {value || "(empty)"}</span>
|
||||
<span className="text-2 text-sand-11">
|
||||
Value:
|
||||
{value || "(empty)"}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user