This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var field = svg.selectAll("g") | |
| .data(fields) | |
| .enter() | |
| .append("g"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| const Rect = (props) => <rect {...props}></rect> | |
| export const MyFirstAwesomeChart = ({x, y}) => | |
| <svg> | |
| <Rect x={x} y={y} width={100} height={50} /> | |
| </svg> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const StyledWrapper = styled.div` | |
| .foo-component{ | |
| background-color: red; | |
| .foo-component__item{ | |
| background-color: blue; | |
| } | |
| } | |
| ` | |
| <StyleWrapper> | |
| <ul className="foo-component"> |
NewerOlder