feat: set workspace names

This commit is contained in:
MingLiang Wang
2022-12-22 18:03:34 +08:00
parent 4e0aa31af4
commit cf95f0abaf
8 changed files with 164 additions and 86 deletions
+3
View File
@@ -7,6 +7,7 @@ type inputProps = {
disabled?: boolean;
width?: number;
maxLength?: number;
minLength?: number;
onChange?: (value: string) => void;
onBlur?: (e: any) => void;
};
@@ -17,6 +18,7 @@ export const Input = (props: inputProps) => {
value: valueProp,
placeholder,
maxLength,
minLength,
width = 260,
onChange,
onBlur,
@@ -39,6 +41,7 @@ export const Input = (props: inputProps) => {
placeholder={placeholder}
width={width}
maxLength={maxLength}
minLength={minLength}
onChange={handleChange}
onBlur={handleBlur}
></StyledInput>