mirror of
https://github.com/strapi/strapi.git
synced 2026-01-07 20:58:16 +00:00
19 lines
307 B
JavaScript
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;
|