We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there anyway we can track the styled component to it's origin? See example below
import {Button} from 'design-system' import {styled} from 'react-emotion' ... const StyledButton = styled(Button)` //some css here ` const Container = () => { return <StyledButton> }
in this case, I would consider StyledButton IS Button from 'design-system' but in the generated report, I think we are only getting
{ "StyledButton": 1 }
is there any way we can detect this type of situation?
The text was updated successfully, but these errors were encountered:
getComponentName: ({ imported, local, moduleName, importType }) => { return `${moduleName}: ${imported || local}`; },
is what I used in the config, I want to be able to tell where is this component from
Sorry, something went wrong.
I sort-of-ish tried to create a PR for this situation. Can definitely get some extra eyes/fingers on it tho. #56
styledFrom
No branches or pull requests
Is there anyway we can track the styled component to it's origin? See example below
in this case, I would consider StyledButton IS Button from 'design-system'
but in the generated report, I think we are only getting
is there any way we can detect this type of situation?
The text was updated successfully, but these errors were encountered: