Skip to content

Commit

Permalink
move files around
Browse files Browse the repository at this point in the history
  • Loading branch information
mckervinc committed Jun 17, 2024
1 parent 41573a1 commit cbbf600
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/src/Props.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import React from "react";
import { ColumnProps, Table } from "react-fluid-table";
import ColumnPropsTable from "./ColumnProps";
import { Snippet } from "./Snippet";
import { Snippet } from "./components/Snippet";
import { InlineCode } from "./components/library/InlineCode";

type PropData = {
Expand Down
9 changes: 4 additions & 5 deletions example/src/components/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import Navigation from "@/Navigation";
import { Snippet } from "@/Snippet";
import Navigation from "@/components/Navigation";
import { Snippet } from "@/components/Snippet";
import { faGithubAlt } from "@fortawesome/free-brands-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useState } from "react";
import { Outlet } from "react-router-dom";
import { Link } from "react-router-dom";
import { Link, Outlet } from "react-router-dom";

const links = (
<>
Expand Down Expand Up @@ -72,7 +71,7 @@ const Layout = () => {
const [title, setTitle] = useState("");
const [source, setSource] = useState("");
return (
<div className="h-screen w-screen md:flex">
<div className="h-screen w-screen text-[0.875rem] md:flex">
{/* Desktop Nav */}
<div className="h-full w-[260px] overflow-y-auto bg-[#1b1c1d] max-md:hidden [&>*:last]:border-b-0 [&>*]:border-b [&>*]:border-solid [&>*]:border-b-[#2d2e2f]">
{links}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useEffect, useRef, useState } from "react";
import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter";
import tsx from "react-syntax-highlighter/dist/esm/languages/prism/tsx";
import okaidia from "react-syntax-highlighter/dist/esm/styles/prism/okaidia";
import { copy } from "./util";
import { copy } from "../util";

SyntaxHighlighter.registerLanguage("tsx", tsx);

Expand Down

0 comments on commit cbbf600

Please sign in to comment.