Skip to content

Commit

Permalink
feat: replace buttons with button from theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 22, 2020
1 parent 280d2b9 commit 95ac375
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/CodeBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
import { css } from '@emotion/core';
import cx from 'classnames';
import Button from './Button';
import { Button } from '@newrelic/gatsby-theme-newrelic';
import CodeEditor from './CodeEditor';
import CodeHighlight from './CodeHighlight';
import FeatherIcon from './FeatherIcon';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CookieApprovalDialog.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import Cookies from 'js-cookie';
import Button from './Button';
import { Button } from '@newrelic/gatsby-theme-newrelic';
import cx from 'classnames';
import styles from './CookieApprovalDialog.module.scss';
import ExternalLink from './ExternalLink';
Expand Down
2 changes: 1 addition & 1 deletion src/components/GuideTile/Button.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { css } from '@emotion/core';
import Button from '../Button';
import { Button } from '@newrelic/gatsby-theme-newrelic';
import { Link } from 'gatsby';

const GuideTileButton = ({ className, ...props }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/developer-champion.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import cx from 'classnames';
import SEO from '../components/Seo';
import Button from '../components/Button';
import { Button } from '@newrelic/gatsby-theme-newrelic';
import PageTitle from '../components/PageTitle';
import ExternalLink from '../components/ExternalLink';
import FeatherIcon from '../components/FeatherIcon';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import cx from 'classnames';
import { graphql, Link } from 'gatsby';

import SEO from '../components/Seo';
import Button from '../components/Button';
import { Button } from '@newrelic/gatsby-theme-newrelic';
import GuideListing from '../components/GuideListing/GuideListing';
import GuideTile from '../components/GuideTile/GuideTile';
import PageTitle from '../components/PageTitle';
Expand Down

0 comments on commit 95ac375

Please sign in to comment.