Add auto import of Component from 'react'
Closed this issue · 2 comments
aktanoff commented
The README says that rce snippet and others that based on Component, automaticly imports { Component }
import React, { Component } from 'react';
but actually it doesn't
<content><![CDATA[import React from 'react'
Could you please fix it?
Thank you!
aktanoff commented
'imrc' also don't import Component
lassegit commented
There was a bug in version 1.0.0
, it now correctly imports Component
from React.Component
.