forked from opendatahub-io/odh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connection type preview form generation (opendatahub-io#3056)
- Loading branch information
1 parent
457d01d
commit 934fe4a
Showing
44 changed files
with
2,074 additions
and
166 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,8 @@ | ||
.odh-form-group-text { | ||
// applies the same form element font size as overriden by App.scss | ||
font-size: var(--pf-v5-global--FontSize--sm); | ||
|
||
@at-root pre#{&} { | ||
font-family: var(--pf-v5-global--FontFamily--text); | ||
} | ||
} |
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,17 @@ | ||
import * as React from 'react'; | ||
|
||
import './FormGroupText.scss'; | ||
|
||
type Props = { | ||
component?: 'div' | 'pre'; | ||
children?: React.ReactNode; | ||
id?: string; | ||
}; | ||
|
||
const FormGroupText: React.FC<Props> = ({ component: Component = 'div', id, children }) => ( | ||
<Component id={id} className="odh-form-group-text"> | ||
{children} | ||
</Component> | ||
); | ||
|
||
export default FormGroupText; |
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.