You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
layershifter
changed the title
Content prop of Confirm addon don't need to be a string
feat(Confirm): use shorthands for content and buttons
Feb 6, 2017
layershifter
changed the title
feat(Confirm): use shorthands for content and buttons
feat(Confirm): use shorthands for content and buttons definition
Feb 6, 2017
Steps
Confirm
addon with a content that is an object:<Confirm content={<b>hi!</b>} {...rest} />
Expected Result
It should be rendered without any warning.
Actual Result
It renders correctly, but gives a warning: content prop have to be a string.
See src/addons/Confirm/Confirm.js#L53
The text was updated successfully, but these errors were encountered: