import Label from './../../Elements/Label/Label';
const LabelStyled = styled(Label)`
width: 10%;
flex-grow: 1
`;
export default (props) => {
return (
<ListItem>
<LabelStyled>{ 'Ярлык' }</LabelStyled>
</ListItem>
)
}
import React from 'react';
import styled from 'styled-components';
const Label = styled.div`
border: none;
border-radius: 20px;
background-color: #f63;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 40px;
`;
export default (props) => {
return (
<Label>
{ props.children }
</Label>
)
}
import React from 'react';
import styled from 'styled-components';
const Label = styled.div`
border: none;
border-radius: 20px;
background-color: #f63;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 40px;
`;
export default (props) => {
return (
<Label className={props.className}>
{ props.children }
</Label>
)
}
export default (props) => {
return (
<Label className={props.className}>
{ props.children }
</Label>
)
}
import styled from 'styled-components';
export const Label = styled.div`
border: none;
border-radius: 20px;
background-color: #f63;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 40px;
`;
export default Label;