diff --git a/frontend/src/app/components/icons/plus.jsx b/frontend/src/app/components/icons/plus.jsx new file mode 100644 index 0000000..d8ca33d --- /dev/null +++ b/frontend/src/app/components/icons/plus.jsx @@ -0,0 +1,32 @@ +import React from "react"; + +const plus = () => { + return ( + <> + + > + ); +}; + +export default plus; diff --git a/frontend/src/app/components/mobileToggleTab/Toggle.jsx b/frontend/src/app/components/mobileToggleTab/Toggle.jsx new file mode 100644 index 0000000..e4fe140 --- /dev/null +++ b/frontend/src/app/components/mobileToggleTab/Toggle.jsx @@ -0,0 +1,36 @@ +import React from "react"; +import styles from "./styles.module.css"; +import MobileSearchBar from "@/app/components/mobileSearchBar/MobileSearchBar"; +import useIsMobile from "@/app/hooks/useIsMobile"; +import PlusIcon from "../icons/plus"; + +const Toggle = ({ tabs = [], activeTab, onChange }) => { + const isMobile = useIsMobile(); + + return ( +
Permissions
-Permissions
+| {role.name} | {role.orgId} | diff --git a/frontend/src/app/roles/role-card/Card.jsx b/frontend/src/app/roles/role-card/Card.jsx index 49cd0be..af1ad11 100644 --- a/frontend/src/app/roles/role-card/Card.jsx +++ b/frontend/src/app/roles/role-card/Card.jsx @@ -1,5 +1,6 @@ import DeleteIcon from "@/app/components/icons/delete"; import React from "react"; +import styles from "./styles.module.css"; const Card = (props) => { return ( @@ -7,15 +8,15 @@ const Card = (props) => {