cisco-sbg-ui / magna-react

magna-react.vercel.app
5 stars 0 forks source link

Add check for react element prior to string for `hints` #895

Closed androche closed 6 days ago

androche commented 1 week ago

We'll add a check in line AHintContainer for ReactNode as seen below in type:

type AHintsType =
  | Array<AFieldBaseHint>
  | AFieldBaseHint
  | React.ReactNode;