mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
updates root components structure
This commit is contained in:
5
scm-ui/src/components/buttons/index.js
Normal file
5
scm-ui/src/components/buttons/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
export { default as AddButton } from "./AddButton";
|
||||
export { default as Button } from "./Button";
|
||||
export { default as DeleteButton } from "./DeleteButton";
|
||||
export { default as EditButton } from "./EditButton";
|
||||
export { default as SubmitButton } from "./SubmitButton";
|
||||
2
scm-ui/src/components/forms/index.js
Normal file
2
scm-ui/src/components/forms/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
export { default as Checkbox } from "./Checkbox";
|
||||
export { default as InputField } from "./InputField";
|
||||
@@ -1,6 +1,6 @@
|
||||
//@flow
|
||||
import React from "react";
|
||||
import type { Me } from "../types/Me";
|
||||
import type { Me } from "../../types/Me";
|
||||
|
||||
type Props = {
|
||||
me?: Me
|
||||
@@ -1,6 +1,6 @@
|
||||
//@flow
|
||||
import * as React from "react";
|
||||
import Logo from "./Logo";
|
||||
import Logo from "./../Logo";
|
||||
|
||||
type Props = {
|
||||
children?: React.Node
|
||||
@@ -1,7 +1,7 @@
|
||||
//@flow
|
||||
import * as React from "react";
|
||||
import Loading from "./Loading";
|
||||
import ErrorNotification from "./ErrorNotification";
|
||||
import Loading from "./../Loading";
|
||||
import ErrorNotification from "./../ErrorNotification";
|
||||
|
||||
type Props = {
|
||||
title: string,
|
||||
3
scm-ui/src/components/layout/index.js
Normal file
3
scm-ui/src/components/layout/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export { default as Footer } from "./Footer";
|
||||
export { default as Header } from "./Header";
|
||||
export { default as Page } from "./Page";
|
||||
1
scm-ui/src/components/modals/index.js
Normal file
1
scm-ui/src/components/modals/index.js
Normal file
@@ -0,0 +1 @@
|
||||
export { default as ConfirmAlert } from "./ConfirmAlert";
|
||||
@@ -1,3 +1,7 @@
|
||||
//primary Navigation
|
||||
export { default as PrimaryNavigation } from "./PrimaryNavigation";
|
||||
export { default as PrimaryNavigationLink } from "./PrimaryNavigationLink";
|
||||
//secondary Navigation
|
||||
export { default as Navigation } from "./Navigation";
|
||||
export { default as Section } from "./Section";
|
||||
export { default as NavLink } from "./NavLink";
|
||||
Reference in New Issue
Block a user