nl_tokens: This component exposes a prop that supports functional and createRef () API and returns the DOM node of both functional and class component children .
pl_tokens: function Ref ( props ) { const { children , innerRef } = props const child = React . Children . only ( children ) const ElementType = isForwardRef ( <mask> ) ? RefForward : RefFindNode return < ElementType innerRef = { innerRef } > { child } < / ElementType > }