-
Notifications
You must be signed in to change notification settings - Fork 163
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
- Loading branch information
1 parent
73e69e5
commit f4eb8b3
Showing
32 changed files
with
1,028 additions
and
161 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.