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
39 lines (35 loc) • 996 B
JavaScript
/**
* Created by abhishek.panda on 13/09/17.
*/
import styled from 'styled-components';
import { colors } from '../../colorCodes';
export const Ul = styled.ul`
height: ${props => props.height || '50px'};
width: ${props => props.width || 'auto'};
overflow: scroll;
padding: 0;
margin: 0;
`;
export const Pointer = styled.div`
border-top: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid ${colors.whiteText};
border-left: 7px solid ${colors.whiteText};
position: absolute;
top: 20px;
left: -7px;
box-shadow: rgba(208, 208, 208, 0.5) -2px 2px 1px -1px;
transform: rotate(45deg);
z-index: 1;
`;
export const Li = styled.li`
font-family: 'Arial';
color: rgb(63, 63, 63);
font-size: 14px;
border-bottom: 1px solid ${colors.treeMenuItemBorderColor};
padding: 12px 16px;
word-wrap: break-word;
cursor: pointer;
list-style-type: none;
`;
//# sourceMappingURL=index.js.map