From 34927ea5bdabd1f3bf1279c2fd16ce640642c34e Mon Sep 17 00:00:00 2001 From: Cayla Hamann Date: Tue, 24 Nov 2020 14:32:56 -0500 Subject: [PATCH] feat: table added to dev site from theme --- package.json | 2 +- src/components/MDXContainer.js | 8 +++++++- yarn.lock | 9 +++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 9ed0eb533..c5841085a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@emotion/styled": "^10.0.27", "@mdx-js/mdx": "^1.6.17", "@mdx-js/react": "^1.6.18", - "@newrelic/gatsby-theme-newrelic": "^1.14.0", + "@newrelic/gatsby-theme-newrelic": "^1.16.0", "@splitsoftware/splitio-react": "^1.2.0", "@xstate/react": "^1.0.1", "classnames": "^2.2.6", diff --git a/src/components/MDXContainer.js b/src/components/MDXContainer.js index 776615958..678be8d3d 100644 --- a/src/components/MDXContainer.js +++ b/src/components/MDXContainer.js @@ -10,7 +10,12 @@ import Tutorial from './Tutorial'; import TutorialStep from './TutorialStep'; import TutorialSection from './TutorialSection'; import Project from './Project'; -import { Callout, MDXCodeBlock, Video } from '@newrelic/gatsby-theme-newrelic'; +import { + Callout, + MDXCodeBlock, + Table, + Video, +} from '@newrelic/gatsby-theme-newrelic'; import styles from './MDXContainer.module.scss'; @@ -22,6 +27,7 @@ const components = { Step: TutorialStep, Steps: TutorialSection, Project, + Table, Tutorial, TutorialStep, TutorialSection, diff --git a/yarn.lock b/yarn.lock index 2fc440b21..fc68d90b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3011,10 +3011,10 @@ eslint-plugin-promise "^4.2.1" eslint-plugin-react "^7.14.3" -"@newrelic/gatsby-theme-newrelic@^1.14.0": - version "1.14.0" - resolved "https://registry.yarnpkg.com/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-1.14.0.tgz#e46a0327bc1adca14b7029ec9f1e31d94128738e" - integrity sha512-qquoyEBXzhsj1jvLvOfN+Toai/ljwn18M81zz0wyPsiXZ6UXFoNnlSQ1X1J45h6ZrJ6D1MBxJV8T8V5Gh5C4/g== +"@newrelic/gatsby-theme-newrelic@^1.16.0": + version "1.16.0" + resolved "https://registry.yarnpkg.com/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-1.16.0.tgz#d0ca0b554b3c92c5ccc9d94b4ce6191fc18e47a9" + integrity sha512-qO8wxv5CSHKskeEHg9w5xZGChlnQrTzlPqXTbF8oyXXPgE7jIxHceUjjqBAD2gkxClXEflUGkAJpoW2spzbBNw== dependencies: "@elastic/react-search-ui" "^1.4.1" "@elastic/react-search-ui-views" "^1.4.1" @@ -3044,6 +3044,7 @@ use-dark-mode "^2.3.1" use-media "^1.4.0" use-persisted-state "^0.3.0" + warning "^4.0.3" "@nodelib/fs.scandir@2.1.3": version "2.1.3"