lbry-desktop/ui/component/theme/view.jsx
2020-12-16 10:52:22 -05:00

18 lines
302 B
JavaScript

// @flow
import React from 'react';
type Props = {
themePath: ?string,
};
const Theme = (props: Props) => {
const { themePath } = props;
if (!themePath) {
return null;
}
return <link href={themePath} rel="stylesheet" type="text/css" media="screen,print" />;
};
export default Theme;