UNPKG

fk-react-ui-components

Version:

Step 1 : Create a file in [ Seeds / Plants / Trees ] <br> Step 2 : It should export an Object with component name and story Component [Refer other components] <br> Step 3 : Story Component should return a react component <br> Step 3 : Created file should

18 lines (16 loc) 512 B
/** * Created by abhishek.panda on 18/10/17. */ import styled from "styled-components"; export const Flex = styled.div` display: flex; padding : ${props => props.padding || "0px"}; margin : ${props => props.margin || "0px"}; margin-top : ${props => props.marginTop || "0px"} `; export const FlexCell = styled.div` flex: ${props => props.flex || "1"}; padding : ${props => props.padding || "0px"}; margin: ${props => props.margin || ""}; `; //# sourceMappingURL=index.js.map