Skip to content

Commit 9654e0e

Browse files
authored
Merge pull request #92 from mckervinc/feature/tailwind
move files around
2 parents dff719e + cbbf600 commit 9654e0e

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

example/src/Props.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
66
import React from "react";
77
import { ColumnProps, Table } from "react-fluid-table";
88
import ColumnPropsTable from "./ColumnProps";
9-
import { Snippet } from "./Snippet";
9+
import { Snippet } from "./components/Snippet";
1010
import { InlineCode } from "./components/library/InlineCode";
1111

1212
type PropData = {

example/src/components/Layout.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import Navigation from "@/Navigation";
2-
import { Snippet } from "@/Snippet";
1+
import Navigation from "@/components/Navigation";
2+
import { Snippet } from "@/components/Snippet";
33
import { faGithubAlt } from "@fortawesome/free-brands-svg-icons";
44
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
55
import { useState } from "react";
6-
import { Outlet } from "react-router-dom";
7-
import { Link } from "react-router-dom";
6+
import { Link, Outlet } from "react-router-dom";
87

98
const links = (
109
<>
@@ -72,7 +71,7 @@ const Layout = () => {
7271
const [title, setTitle] = useState("");
7372
const [source, setSource] = useState("");
7473
return (
75-
<div className="h-screen w-screen md:flex">
74+
<div className="h-screen w-screen text-[0.875rem] md:flex">
7675
{/* Desktop Nav */}
7776
<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]">
7877
{links}
File renamed without changes.

example/src/Snippet.tsx renamed to example/src/components/Snippet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useEffect, useRef, useState } from "react";
66
import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter";
77
import tsx from "react-syntax-highlighter/dist/esm/languages/prism/tsx";
88
import okaidia from "react-syntax-highlighter/dist/esm/styles/prism/okaidia";
9-
import { copy } from "./util";
9+
import { copy } from "../util";
1010

1111
SyntaxHighlighter.registerLanguage("tsx", tsx);
1212

0 commit comments

Comments
 (0)