UI: fixup Select component design & api
This commit is contained in:
@@ -55,7 +55,7 @@ export const InputBase = (props: InputBaseProps) => {
|
||||
|
||||
// Cursor
|
||||
"aria-readonly:cursor-no-drop",
|
||||
props.class
|
||||
props.class,
|
||||
)}
|
||||
classList={{
|
||||
[cx("!border !border-semantic-1 !outline-semantic-1")]: !!props.error,
|
||||
@@ -160,7 +160,7 @@ interface InputErrorProps {
|
||||
export const InputError = (props: InputErrorProps) => {
|
||||
const [typoClasses, rest] = splitProps(
|
||||
props.typographyProps || { class: "" },
|
||||
["class"]
|
||||
["class"],
|
||||
);
|
||||
return (
|
||||
<Typography
|
||||
|
||||
Reference in New Issue
Block a user