added backup and email client
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
import { css, styled } from 'goober';
|
||||
|
||||
/**
|
||||
* CSS Global function to declare global styles
|
||||
* @type {Function}
|
||||
*/
|
||||
export let glob = css.bind({ g: 1 });
|
||||
|
||||
/**
|
||||
* Creates the global styles component to be used as part of your tree.
|
||||
* @returns {Function}
|
||||
*/
|
||||
export function createGlobalStyles() {
|
||||
const fn = styled.call({ g: 1 }, 'div').apply(null, arguments);
|
||||
|
||||
/**
|
||||
* This is the actual component that gets rendered.
|
||||
*/
|
||||
return function GlobalStyles(props) {
|
||||
// Call the above styled.
|
||||
fn(props);
|
||||
|
||||
// Returns a hole.
|
||||
return null;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user