-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
When we have a view that uses data, some of the args land on the props even though they shouldn't because they're local.
They're:
isValid,
isInvalid,
isSubmitting,
onSubmit,
onChange
Not a blocker at all but it'd be nice if eventually we could not render them into the file.
Eg:
Auth View
is together
Text
letterSpacing 1.5
data stuff
format stuff
text <value
Text
data stuff
format tey
validate test
isVVVV <isValid
isInvaliddd <isInvalid
text <value
isSubmitting <
onSubttttt <onSubmit
onClick <onSubmit
onChange <onChange
Outputs:
export default function Auth({
children,
'data-testid': dataTestid,
'data-view-path': dataViewPath,
viewPath= "/App/Auth",
isValid,
isInvalid,
isSubmitting,
onSubmit,
onChange
}) {
Reactions are currently unavailable