soupette 63fa27e032 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-02-18 13:48:14 +01:00

19 lines
307 B
JavaScript

import styled from 'styled-components';
import PropTypes from 'prop-types';
const Wrapper = styled.div`
display: flex;
align-items: center;
width: ${({ width }) => width};
`;
Wrapper.defaultProps = {
width: '18rem',
};
Wrapper.propTypes = {
width: PropTypes.string,
};
export default Wrapper;