This package has been deprecated

Author message:

end of development

styled-expression
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

styled-expression

Note

This does not work with IE 11 etc.

Install

yarn add styled-components styled-expression

Example

import styled from 'styled-components';
import {flex} from 'styled-expression';

const InlineFlex = styled.div`
	${flex().inline()};
`;
// <div style={{display: 'inline-flex'}} />

const InlineCenterColumnFlex = styled.div`
	${flex().inline.center.column()};
`;
// <div style={{
//		display:  'inline-flex',
//		justifyContent: 'center',
//		alignItems: 'center',
//		flexDirection: 'column'
// }} />

Readme

Keywords

none

Package Sidebar

Install

npm i styled-expression

Weekly Downloads

7

Version

0.0.2

License

MIT

Unpacked Size

2.61 MB

Total Files

37

Last publish

Collaborators

  • nju33