refactor(docs): Remove no longer necessary React imports
This commit is contained in:
parent
a0a952413a
commit
00962a7255
22 changed files with 1 additions and 24 deletions
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
export default function Context({ children }) {
|
export default function Context({ children }) {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
const specialCharactersRegex =
|
const specialCharactersRegex =
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
export default function Footnote({ children, symbol, id }) {
|
export default function Footnote({ children, symbol, id }) {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
export default function FootnoteRef({ children, anchor }) {
|
export default function FootnoteRef({ children, anchor }) {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import FootnoteRef from "./FootnoteRef";
|
import FootnoteRef from "./FootnoteRef";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import Footnote from "./Footnote";
|
import Footnote from "./Footnote";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons";
|
import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons";
|
||||||
export default function LinkIcon() {
|
export default function LinkIcon() {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import ToastyCopyToClipboard from "./ToastyCopyToClipboard";
|
import ToastyCopyToClipboard from "./ToastyCopyToClipboard";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import operatingSystems from "@site/src/data/operating-systems";
|
import operatingSystems from "@site/src/data/operating-systems";
|
||||||
|
|
||||||
export default function OsLegend() {
|
export default function OsLegend() {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import OsSupportIcon from "./OsSupportIcon";
|
import OsSupportIcon from "./OsSupportIcon";
|
||||||
import FootnoteRefs from "./FootnoteRefs";
|
import FootnoteRefs from "./FootnoteRefs";
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
const Icon = ({ children, className, title }) => (
|
const Icon = ({ children, className, title }) => (
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import Admonition from "@theme/Admonition";
|
import Admonition from "@theme/Admonition";
|
||||||
|
|
||||||
export default function SpellingCaution() {
|
export default function SpellingCaution() {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import TableRow from "./TableRow";
|
import TableRow from "./TableRow";
|
||||||
import Footnotes from "./Footnotes";
|
import Footnotes from "./Footnotes";
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import Name from "./Name";
|
import Name from "./Name";
|
||||||
import Description from "./Description";
|
import Description from "./Description";
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import { ToastContainer } from "react-toastify";
|
import { ToastContainer } from "react-toastify";
|
||||||
import "react-toastify/dist/ReactToastify.css";
|
import "react-toastify/dist/ReactToastify.css";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { toast } from "react-toastify";
|
import { toast } from "react-toastify";
|
||||||
import { CopyToClipboard } from "react-copy-to-clipboard";
|
import { CopyToClipboard } from "react-copy-to-clipboard";
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
function CustomBoardForm({
|
function CustomBoardForm({
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import React from "react";
|
|
||||||
|
|
||||||
import Heading from "@theme/Heading";
|
import Heading from "@theme/Heading";
|
||||||
|
|
||||||
import { HardwareMetadata } from "../hardware-metadata";
|
import { HardwareMetadata } from "../hardware-metadata";
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import React from "react";
|
|
||||||
|
|
||||||
import Tabs from "@theme/Tabs";
|
import Tabs from "@theme/Tabs";
|
||||||
import TabItem from "@theme/TabItem";
|
import TabItem from "@theme/TabItem";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import {
|
import {
|
||||||
displayPower,
|
displayPower,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import React from "react";
|
|
||||||
import classnames from "classnames";
|
import classnames from "classnames";
|
||||||
import Layout from "@theme/Layout";
|
import Layout from "@theme/Layout";
|
||||||
import Link from "@docusaurus/Link";
|
import Link from "@docusaurus/Link";
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React, { useState } from "react";
|
import { useState } from "react";
|
||||||
import classnames from "classnames";
|
import classnames from "classnames";
|
||||||
import Layout from "@theme/Layout";
|
import Layout from "@theme/Layout";
|
||||||
import styles from "./styles.module.css";
|
import styles from "./styles.module.css";
|
||||||
|
|
Loading…
Add table
Reference in a new issue