Uploaded image for project: 'Google Code-in'
  1. Google Code-in
  2. GCI-266

React UI Library - Button component

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: TBD
    • Resolution: Done
    • Labels:
    • Complexity:
      Medium

      Description

      Create a button component that can show different behaviour depending on passed props.

      Create a component that can be used as the following;

      • Normal button
      • Submit/ Okay/ Yes button
      • Cancel/ No button
      • Deactivated button
      • Flat button with low prominence (this is subjective - I'd go for a button without a background colour).

      Considerations:

      • Component should expose props to handle on click events.
      • All buttons must allow entering a text value as its label.
      • Follow OpenMRS design theme - colors, fonts, icons. Use Material design icons if needed and available.
      • Your suggestions are welcome.
      • Follow the instructions at the repository (especially the Gitflow workflow) and the OpenMRS pull request tips.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            merovingienne Chanuka Wijayakoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Remaining Estimate - 4 days
                4d
                Logged:
                Time Spent - Not Specified
                Not Specified