-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
console: update manage databases UI (#499)
GitOrigin-RevId: 68f58ef
- Loading branch information
1 parent
88e71f3
commit da1a7a5
Showing
10 changed files
with
1,067 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React, { InputHTMLAttributes } from 'react'; | ||
import styles from '../../Common/Common.scss'; | ||
|
||
interface LabeledInputProps extends InputHTMLAttributes<HTMLInputElement> { | ||
label: string; | ||
labelInBold?: boolean; | ||
} | ||
|
||
export const LabeledInput: React.FC<LabeledInputProps> = props => ( | ||
<> | ||
<label className={props.labelInBold ? '' : styles.connect_db_input_label}> | ||
{props?.labelInBold ? <b>{props.label}</b> : props.label} | ||
</label> | ||
<input | ||
type="text" | ||
className={`form-control ${styles.connect_db_input_pad}`} | ||
{...props} | ||
/> | ||
</> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.