()
| 39 | } |
| 40 | |
| 41 | render() { |
| 42 | let {object, index} = this.props; |
| 43 | WebFont.load({ |
| 44 | google: { |
| 45 | families: [object.fontFamily] |
| 46 | } |
| 47 | }); |
| 48 | const {rotate, ... restOfAttributes} = this.getObjectAttributes() |
| 49 | return ( |
| 50 | <text style={this.getStyle()} |
| 51 | {...restOfAttributes} |
| 52 | textAnchor="right" |
| 53 | fontSize={object.fontSize} |
| 54 | fontFamily={object.fontFamily}> |
nothing calls this directly
no test coverage detected