[READ-ONLY] Mirror of https://github.com/lukebennett88/luke-ui. luke-ui.netlify.app

Extract composeField helper for Composed *-Field components (#53) master

TextField and ComboboxField both duplicated the same label/description/ errorMessage/necessityIndicator destructure and <Field> wrap. Concentrate that scaffold in one internal helper so a third Composed field can reuse it without copying the pattern again. Closes #40


+31 -22
3 changed files