initial commit

This commit is contained in:
Priscila Oliveira
2019-02-03 11:23:33 +01:00
commit e2d478d65b
163 changed files with 19925 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/**
* @prettier
* @flow
*/
import React from 'react';
import type { Element } from 'react';
import { IProps } from './types';
import { Wrapper } from './styles';
const Tag = ({ children }: IProps): Element<Wrapper> => <Wrapper>{children}</Wrapper>;
export default Tag;

View File

@@ -0,0 +1,20 @@
/**
* @prettier
* @flow
*/
import styled from 'react-emotion';
import { ellipsis } from '../../utils/styles/mixings';
export const Wrapper = styled.span`
&& {
vertical-align: middle;
line-height: 22px;
border-radius: 2px;
color: #9f9f9f;
background-color: hsla(0, 0%, 51%, 0.1);
padding: 0.22rem 0.4rem;
margin: 5px 10px 0 0;
${ellipsis('300px')};
}
`;

View File

@@ -0,0 +1,9 @@
/**
* @prettier
* @flow
*/
import type { Node } from 'react';
export interface IProps {
children: Node;
}