Skip to content

Instantly share code, notes, and snippets.

View cspilhere's full-sized avatar

Christian Spilhere cspilhere

  • Florianópolis - SC
  • 13:49 (UTC -03:00)
View GitHub Profile
import React, {
createContext,
useEffect,
useState,
useContext
} from 'react';
const Context = createContext({});
export const ViewportProvider = ({ children }) => {
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="WordPress: http://mlwweb-malwee-jeans.azurewebsites.net" patternSyntax="Wildcard">
<match url="*"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
import React, { useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
const TabsWrapper = styled.div`
display: flex;
flex-direction: column;
`;