From e96e92f5322eba00d14b56bba4cadc4552723a5f Mon Sep 17 00:00:00 2001 From: Aubrey Portwood Date: Wed, 31 Mar 2021 18:04:04 -0600 Subject: [PATCH] Docblock these. --- src/TablePlus.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/TablePlus.js b/src/TablePlus.js index 7824b1e..e0eca14 100644 --- a/src/TablePlus.js +++ b/src/TablePlus.js @@ -189,10 +189,26 @@ export default class TablePlus extends React.Component { return !tmpExists; } + /** + * Console out an error + * + * @author Aubrey Portwood + * @since 1.5.0 + * @param {mixed} what What to present. + * @return {void} + */ error (what) { console.error(what); } + /** + * Console out a warning + * + * @author Aubrey Portwood + * @since 1.5.0 + * @param {mixed} what What to present. + * @return {void} + */ warn (what) { console.warn(what); }