perf: remove folders and indexes from components

This commit is contained in:
RadoslavDimchev 2023-08-07 14:38:53 +03:00
parent 4cae5c67a1
commit fbcd120bfc
30 changed files with 12 additions and 25 deletions

View File

@ -8,4 +8,4 @@ const BackgroundImage = styled(Stack, {
borderBottomRightRadius: "25px",
});
export { BackgroundImage };
export default BackgroundImage;

View File

@ -1 +0,0 @@
export { BackgroundImage } from "./BackgroundImage";

View File

@ -1 +0,0 @@
export { FormattedText } from "./FormattedText";

View File

@ -1 +0,0 @@
export { Icon } from "./Icon";

View File

@ -1,5 +1,5 @@
import { Icon } from "../Icon/Icon";
import { ReactButton } from "../ReactButton";
import { ReactButton } from "./ReactButton";
const IconButton = ({ icon, text, ...props }) => {
return (

View File

@ -1 +0,0 @@
export { IconButton } from "./IconButton";

View File

@ -1 +0,0 @@
export { IconText } from "./IconText";

View File

@ -1,6 +1,6 @@
import { XStack } from "tamagui";
import { Icon } from "../Icon";
import { FormattedText } from "../FormattedText";
import { Icon } from "./Icon";
import { FormattedText } from "./FormattedText";
const InformationBox = ({ icon, textElements }) => {
return (

View File

@ -1 +0,0 @@
export { InformationBox } from "./InformationBox";

View File

@ -1,6 +1,6 @@
import { XStack } from "tamagui";
import { Tag } from "../Tag";
import { Icon } from "../Icon";
import { Tag } from "./Tag";
import { Icon } from "./Icon";
const Logo = () => {
return (

View File

@ -1 +0,0 @@
export { Logo } from "./Logo";

View File

@ -1,5 +1,5 @@
import { XStack, YStack, styled } from "tamagui";
import { TopBar } from "../TopBar";
import { TopBar } from "./TopBar";
const Background = styled("div", {
display: "flex",

View File

@ -1 +0,0 @@
export { PageWrapper } from "./PageWrapper";

View File

@ -1 +0,0 @@
export { ReactButton } from "./ReactButton";

View File

@ -1 +0,0 @@
export { ShadowBox } from "./ShadowBox";

View File

@ -1,6 +1,6 @@
import { XStack, Stack, Text } from "tamagui";
import "./TopBar.css";
import { Icon } from "../Icon";
import { Icon } from "./Icon";
const Tab = ({ icon, text }) => {
const styl = {
border: "none",

View File

@ -1 +0,0 @@
export { Tag } from "./Tag";

View File

@ -1,7 +1,7 @@
import { XStack, YStack } from "tamagui";
import { SubTitle } from "./SubTitle";
import { Title } from "./Title";
import { IconButton } from "../IconButton";
import { IconButton } from "./IconButton";
const Titles = ({ title, subtitle }) => {
return (

View File

@ -1 +0,0 @@
export { Titles } from "./Titles";

View File

@ -14,10 +14,10 @@ import FullScreen from "/top-bar-icons/full-screen.png";
import Bell from "/top-bar-icons/bell.png";
import "./TopBar.css";
import { ReactButton } from "../ReactButton";
import { ReactButton } from "./ReactButton";
import { Button, Tabs, XStack } from "tamagui";
import { Icon } from "../Icon";
import { IconButton } from "../IconButton";
import { Icon } from "./Icon";
import { IconButton } from "./IconButton";
import { Tab } from "./Tab";
const TopBar = () => {

View File

@ -1 +0,0 @@
export { TopBar } from "./TopBar";