diff --git a/docs/en/api-pages.html b/docs/en/api-pages.html index 36c3e31d53..c14910c180 100644 --- a/docs/en/api-pages.html +++ b/docs/en/api-pages.html @@ -21,23 +21,28 @@ <MarkdownBlock>[Markdown syntax for a link](http://www.example.com)</MarkdownBlock>

CompLibrary.Container

-

A React container component using Docusaurus styles. Has optional padding and background color attributes that you can configure.

-

Padding choices: all, bottom, left, right, top.
-Background choices: dark, highlight, light.

+

A React container component using Docusaurus styles. Has optional padding and background color props that you can configure.

+

Padding choices: 'all', 'bottom', 'left', 'right', 'top'.
+Background choices: 'dark', 'highlight', 'light'.

+

The className prop is an optional prop that allows you to your own class names to the Container instance. It works like the className attribute in JSX. You can use this class name to customize the styling of contents within this Container.

Example:

-
<Container padding={["bottom", "top"]} background="light">
+
<Container
+  padding={["bottom", "top"]}
+  background="light"
+  className="myCustomClass">
   ...         
 </Container>
 

CompLibrary.GridBlock

A React component to organize text and images.

-

The align attribute determines text alignment. Text alignment defaults to left and can be set to center or right.

-

The layout attribute determines number of column sections per GridBlock. layout defaults to twoColumn and can be set to threeColumn or fourColumn as well.

-

The contents attribute is an array containing the contents of each section of the GridBlock. Each content object can have the following fields:

+

The align prop determines text alignment. Text alignment defaults to 'left' and can be set to 'center' or 'right'.

+

The layout prop determines number of column sections per GridBlock. layout defaults to 'twoColumn' and can be set to 'threeColumn' or 'fourColumn' as well.

+

The className prop is an optional prop that allows you to your own class names to the GridBlock instance. It works like the className attribute in JSX. You can use this class name to customize the styling of contents within this GridBlock.

+

The contents prop is an array containing the contents of each section of the GridBlock. Each content object can have the following fields: