Skip to content

Errors when using components as per the example given #456

@KaveeshaPiumini

Description

@KaveeshaPiumini

Animated Login component has the following issues

When imported as per the instructions of the component.md, section - ## How to handle props to the component and ## How to handle props to the component, following components give errors.

  1. AnimatedLogin (Reason - component is imported as AnimatedLogin but used as Login)
    image

  2. BreadcrumbsWrapper (Reason - missing [ ] )
    image

  3. CardThemeFour (Reason - unwanted " in title property)
    image

  4. CardThemeFourGrid (Reason - use of '=' instead of ':' )
    image

  5. BarChart (Reason - use of '=' instead of ':' )
    image

  6. CardTile (Reason - component is imported as Card)
    image

  7. DetailCard (Reason - use of '=' instead of ':' )
    image

  8. DetailCardGrid (Reason - component is imported as DetailCardGrid but used in a different name, missing { }, incorrect use of [ ], use of '=' instead of ':')
    image

  9. DocsBanner - No syntax error (Reason - mismatches with the expecting props )
    image

  10. DynamicBanner (Reason - unwanted :, missing { , use of '=' instead of ':', missing ,commas )
    image

11.FeatureCard (Reason - unwanted " in title property)
image

12.FooterLarge (Reason - missing { }s, misuse of [], missing ,comma)
image

13.FooterThemeFive (Reason - missing { }s, misuse of [], missing ,comma , use of '=' instead of ':', necessary ,commas)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions