mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
nitropedia slim header
This commit is contained in:
parent
3f69ea167d
commit
bf0f81db2a
@ -74,7 +74,7 @@ export const NitropediaView: FC<{}> = props =>
|
|||||||
if(!content) return null;
|
if(!content) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NitroCardView className="nitropedia">
|
<NitroCardView className="nitropedia" theme="primary-slim">
|
||||||
<NitroCardHeaderView headerText={header} onCloseClick={() => setContent(null)}/>
|
<NitroCardHeaderView headerText={header} onCloseClick={() => setContent(null)}/>
|
||||||
<NitroCardContentView>
|
<NitroCardContentView>
|
||||||
<Base fit innerRef={ elementRef } className="text-black" dangerouslySetInnerHTML={{ __html: content }} />
|
<Base fit innerRef={ elementRef } className="text-black" dangerouslySetInnerHTML={{ __html: content }} />
|
||||||
|
Loading…
Reference in New Issue
Block a user