Skip to content

Conversation

@bronzehedwick
Copy link
Contributor

Description

Allow InputTextFuzzy label's to contain both strings and JSX elements. This allows for adding visually hidden instructions for accessibility.

Related Issue / Ticket

https://github.com/EOANF/budget/issues/557

Steps to Test

  1. Pass a JSX element to label

  2. Confirm the following warning does not appear in the console

     Warning: Failed prop type: Invalid prop `children` of type `object` supplied to `Label`, expected `string`.
    

Allow InputTextFuzzy label's to contain both strings and JSX elements.
This allows for adding visually hidden instructions for accessibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant