From 785c20fa8e0819ed43a6bc0cac785a808e2b7e84 Mon Sep 17 00:00:00 2001 From: Michael Stedman <46408716+recondesigns@users.noreply.github.com> Date: Sun, 3 Mar 2024 11:32:01 -0600 Subject: [PATCH] added prop type descriptions for Content.tsx --- components/Content/Content.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/components/Content/Content.tsx b/components/Content/Content.tsx index 1800dd303..344b461f5 100644 --- a/components/Content/Content.tsx +++ b/components/Content/Content.tsx @@ -3,13 +3,39 @@ import Container from 'components/Container/Container'; import Heading from 'components/Heading/Heading'; export type ContentPropsType = { + /** + * Elements to be rendered in the container. + */ columns: React.ReactNode[]; + /** + * Sets the path for an optional background image. + */ backgroundImageSource?: string; + /** + * Applies style classes to the wrapping div. + */ className?: string; + /** + * Displays an optional line under the title. + */ hasTitleUnderline?: boolean; + /** + * Applies an id to the container. + */ id?: string; + /** + * Sets the height of the container to be full viewport height. + * @default false + */ isFullViewportHeight?: boolean; + /** + * Applies the color theme. + * @default secondary + */ theme?: 'gray' | 'secondary' | 'white'; + /** + * Applies an additional title element. + */ title?: string; };