Skip to content

Commit a1c88a7

Browse files
drewmarshburnNataliaTepluhina
authored andcommitted
Edit grammar prop validation (vuejs#2344)
Just giving subject/verb agreement.
1 parent 49ac812 commit a1c88a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/components-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ There are usually two cases where it's tempting to mutate a prop:
183183

184184
## Prop Validation
185185

186-
Components can specify requirements for its props, such as the types you've already seen. If a requirement isn't met, Vue will warn you in the browser's JavaScript console. This is especially useful when developing a component that's intended to be used by others.
186+
Components can specify requirements for their props, such as the types you've already seen. If a requirement isn't met, Vue will warn you in the browser's JavaScript console. This is especially useful when developing a component that's intended to be used by others.
187187

188188
To specify prop validations, you can provide an object with validation requirements to the value of `props`, instead of an array of strings. For example:
189189

0 commit comments

Comments
 (0)