Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 54a031e

Browse files
author
Mike England
committed
Fix linter errors on DocTable
1 parent 6ad1ab1 commit 54a031e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/DocTable/DocTable.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ import React from 'react'
33
import styles from './DocTable.module.css'
44

55
/**
6+
* Render the DocTable component.
7+
*
68
* This component is used in documentaion-only stories to display tabular documentation.
9+
*
10+
* @param {*} props The DocTable attributes as props.
11+
* @return {Element} The DocTable component.
712
*/
8-
const DocTable = (props) => {
13+
function DocTable(props) {
914
return (
1015
<div className={styles.docTableWrap}>
1116
<table className={styles.docTable}>{props.children}</table>

0 commit comments

Comments
 (0)