Skip to content

Invariant Violation: View config not found for name div. Make sure to start component names with a capital letter. #4

@buraksahin59

Description

@buraksahin59

Screenshot 2019-09-01 at 19 51 19

Hi there,
I have this error when i paste example code;

"react": "16.8.3",
"react-native": "0.59.9",
"react-vivus": "0.0.2",
"vivus": "^0.4.4"

I wrote my code below;

import ReactVivus from 'react-vivus';
import homePhone from './src/svg/untitled.svg';
....
render() {
     return(
          <ReactVivus
                        id="foo"
                        option={{
                          file: homePhone,
                          type: 'oneByOne',
                          animTimingFunction: 'EASE',
                          duration: 250,
                          onReady: console.log
                        }}
                        style={{ height: '300px', width: '250px' }}
                        callback={console.log}
                    />
     )
}

How can i fix this issue ?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions