Add edit studios dialog (#6238)

This commit is contained in:
WithoutPants
2025-11-17 10:12:50 +11:00
committed by GitHub
parent 15db2da361
commit 1ec8d4afe5
5 changed files with 272 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import { Icon } from "./Icon";
interface IBulkUpdateTextInputProps extends FormControlProps {
valueChanged: (value: string | undefined) => void;
unsetDisabled?: boolean;
as?: React.ElementType;
}
export const BulkUpdateTextInput: React.FC<IBulkUpdateTextInputProps> = ({
@@ -24,6 +25,7 @@ export const BulkUpdateTextInput: React.FC<IBulkUpdateTextInputProps> = ({
{...props}
className="input-control"
type="text"
as={props.as}
value={props.value ?? ""}
placeholder={
props.value === undefined