Rename Button ui component files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import styles from "./Filter.module.css";
|
||||
import Button from "../ui/button/button";
|
||||
import Button from "../ui/Button/button";
|
||||
import React from "react";
|
||||
|
||||
type FiltersType = {
|
||||
|
||||
@@ -2,7 +2,7 @@ import styles from "./Footer.module.css"
|
||||
import {Link} from "react-router";
|
||||
import {useState} from "react";
|
||||
import Modal from "../ui/modal/modal.tsx";
|
||||
import Button from "../ui/button/button.tsx";
|
||||
import Button from "../ui/Button/button.tsx";
|
||||
import scrollToTop from "../../utils/scrollToTop.js";
|
||||
|
||||
export default function Footer(){
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import styles from "./createEventBtn.module.css"
|
||||
import { useState, useContext } from "react";
|
||||
import Modal from "../../../ui/modal/modal.tsx";
|
||||
import Button from "../../../ui/button/button.tsx";
|
||||
import Button from "../../../ui/Button/button.tsx";
|
||||
import TextInput from "../../../ui/input/input.tsx";
|
||||
import { EventContext } from "../../../../contexts/events/EventContext.js";
|
||||
import {AuthContext} from "../../../../contexts/auth/AuthContext.ts";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import styles from "../ToolBar.module.css"
|
||||
import Button from "../../ui/button/button";
|
||||
import Button from "../../ui/Button/button";
|
||||
import { useState } from "react";
|
||||
import Filter from "../../Filter/Filter";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import styles from "../ToolBar.module.css"
|
||||
import Button from "../../ui/button/button";
|
||||
import Button from "../../ui/Button/button";
|
||||
import { useEffect, useState } from "react";
|
||||
import SearchBar from "../../SearchBar/SearchBar";
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ export default Modal;*/
|
||||
|
||||
import { createPortal } from "react-dom";
|
||||
import styles from "./modal.module.css";
|
||||
import Button from "../button/button";
|
||||
import Button from "../Button/button";
|
||||
import { ReactNode, MouseEvent } from "react";
|
||||
|
||||
interface ModalProps {
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function ThemeSwitcher() {
|
||||
</Button>
|
||||
}*/
|
||||
|
||||
import Button from "../button/button";
|
||||
import Button from "../Button/button";
|
||||
import { useState, useEffect } from "react";
|
||||
import styles from "./ThemeSwitcher.module.css";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user