From 04832a94246d0e100f57c9ba1aeee56e59339c95 Mon Sep 17 00:00:00 2001 From: Peter Hauke <90506472+peterhauke@users.noreply.github.com> Date: Sat, 4 Mar 2023 16:33:15 +0100 Subject: [PATCH] Split long comments in code snippet into two lines --- src/guide/components/props.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/guide/components/props.md b/src/guide/components/props.md index 799f004b1e..609d3796ca 100644 --- a/src/guide/components/props.md +++ b/src/guide/components/props.md @@ -414,7 +414,8 @@ defineProps({ // Function with a default value propG: { type: Function, - // Unlike object or array default, this is not a factory function - this is a function to serve as a default value + // Unlike object or array default, this is not a factory + // function - this is a function to serve as a default value default() { return 'Default function' } @@ -467,7 +468,8 @@ export default { // Function with a default value propG: { type: Function, - // Unlike object or array default, this is not a factory function - this is a function to serve as a default value + // Unlike object or array default, this is not a factory + // function - this is a function to serve as a default value default() { return 'Default function' }