From 682cf4b495193e26206559cf437c326a2e8a3f45 Mon Sep 17 00:00:00 2001 From: mhnpd Date: Mon, 18 Dec 2023 20:28:54 +0545 Subject: [PATCH] Fix default value bug in getPropsTableData function --- docs/src/components/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/components/helpers.ts b/docs/src/components/helpers.ts index 4abfcf4f..2d1ca6cd 100644 --- a/docs/src/components/helpers.ts +++ b/docs/src/components/helpers.ts @@ -36,7 +36,7 @@ export const getDefaultPropsValue = (componentName:string)=>({ visible: 'true', }) -export const getPropsTableData = (componentName:string, excluded=[])=>{ +export const getPropsTableData = (componentName:string, excluded:string[] = [])=>{ return [ { name: 'height',