Skip to content

Commit

Permalink
Fix JS-Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Sep 11, 2023
1 parent 87420e8 commit a8d9935
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/OnboardingSPA/components/Grid/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
import classNames from "classnames";
import classNames from 'classnames';

/**
* Grid Component
* Shows the components in a grid view
*
* @return Grid of children
* @param {Object} root0
* @param {string} root0.className
* @param {number} root0.size
* @param {number} root0.colGap
* @param {Object} root0.children
* @return {WPComponent} NFDOnboarding Grid
*/
const Grid = ( { className = '', size, colGap = 0, children } ) => {
return (
<div
className={ classNames('nfd-onboarding-grid', className) }
className={ classNames( 'nfd-onboarding-grid', className ) }
style={ {
gridTemplateColumns: `repeat(${ size }, 1fr)`,
gridColumnGap: `${ colGap }px`,
Expand Down

0 comments on commit a8d9935

Please sign in to comment.