2017-12-21 18:08:54 -03:00
|
|
|
import React from 'react';
|
2017-09-06 20:52:34 -04:00
|
|
|
|
|
|
|
const Theme = props => {
|
|
|
|
const { themePath } = props;
|
|
|
|
|
2018-04-17 02:20:10 -04:00
|
|
|
if (!themePath) {
|
|
|
|
return null;
|
|
|
|
}
|
2017-09-06 20:52:34 -04:00
|
|
|
|
2018-04-17 02:20:10 -04:00
|
|
|
return <link href={themePath} rel="stylesheet" type="text/css" media="screen,print" />;
|
2017-09-06 20:52:34 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
export default Theme;
|