lbry-desktop/ui/js/component/theme/view.jsx

22 lines
298 B
React
Raw Normal View History

2017-09-07 02:52:34 +02:00
import React from "react";
const Theme = props => {
const { themePath } = props;
if (!themePath) {
return null;
}
return (
<link
id="theme"
href={themePath}
rel="stylesheet"
type="text/css"
media="screen,print"
/>
);
};
export default Theme;