Skip to content

Syntax error in example on context documentation page #2425

@akanshgulati

Description

@akanshgulati

In the current Dynamic Context example, there are following issues

  1. The <Page> and <Section> component definition is not provided in example code. It causes syntax issues and needs to be removed manually.
  2. The <ThemedButton> component has background color style but no style for text color.
  3. The default text of the ThemedButton component is not present due to which the default case on app.js file does not appear properly.

Current state

Screenshot 2019-10-12 at 02 18 17

After fix

Screenshot 2019-10-12 at 02 17 52

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