mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 22:07:32 -04:00
Improve appearance of info fields
This commit is contained in:
parent
2c6c0fcc81
commit
71a19efd9a
1 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
import Alert from 'Components/Alert';
|
||||||
|
import { kinds } from 'Helpers/Props';
|
||||||
|
|
||||||
class InfoInput extends Component {
|
class InfoInput extends Component {
|
||||||
|
|
||||||
|
@ -7,12 +9,12 @@ class InfoInput extends Component {
|
||||||
// Render
|
// Render
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const { value } = this.props;
|
||||||
value
|
|
||||||
} = this.props;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span dangerouslySetInnerHTML={{ __html: value }} />
|
<Alert kind={kinds.INFO}>
|
||||||
|
<span dangerouslySetInnerHTML={{ __html: value }} />
|
||||||
|
</Alert>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue