mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Few more UI changes for Note.
This commit is contained in:
committed by
Akshay Joshi
parent
0998ddefa2
commit
1810d810d8
@@ -823,13 +823,15 @@ FormInputColor.propTypes = {
|
||||
testcid: PropTypes.string,
|
||||
};
|
||||
|
||||
export function FormNote({text}) {
|
||||
export function FormNote({text, className}) {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Paper elevation={0} className={classes.noteRoot}>
|
||||
<Box paddingRight="0.25rem"><DescriptionIcon fontSize="small" /></Box>
|
||||
<Box>{HTMLReactParse(text)}</Box>
|
||||
</Paper>
|
||||
<Box className={className}>
|
||||
<Paper elevation={0} className={classes.noteRoot}>
|
||||
<Box paddingRight="0.25rem"><DescriptionIcon fontSize="small" /></Box>
|
||||
<Box>{HTMLReactParse(text)}</Box>
|
||||
</Paper>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
FormNote.propTypes = {
|
||||
|
||||
Reference in New Issue
Block a user