From 449755b5aaedc8b2e41024376a4bfbdc757312cc Mon Sep 17 00:00:00 2001 From: Niloy Sikdar Date: Sat, 13 Aug 2022 02:23:18 +0530 Subject: [PATCH] docs(jsdoc): add comment for BaseStyleProp Add JSDoc comments for BaseStyleProp interface re #61 Signed-off-by: Niloy Sikdar --- src/components/types/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/types/index.ts b/src/components/types/index.ts index 36f7451..7fd1181 100644 --- a/src/components/types/index.ts +++ b/src/components/types/index.ts @@ -1,6 +1,12 @@ import { CSSProperties } from 'react'; export interface BaseStyleProp { + /** + * The classes object to be merged with the base styles. + */ classes?: Partial>; + /** + * The class name to be applied to the element. + */ className?: string; }