Skip to content

Commit

Permalink
Merge pull request #1406 from digitalgreenorg/dashboard_integration
Browse files Browse the repository at this point in the history
Dashboard integration
  • Loading branch information
i-am-waseem authored Sep 9, 2024
2 parents 5a14678 + 7fcd479 commit 0f883eb
Show file tree
Hide file tree
Showing 24 changed files with 3,849 additions and 32 deletions.
Binary file removed .env.production.swp
Binary file not shown.
2 changes: 0 additions & 2 deletions .env.test

This file was deleted.

1 change: 1 addition & 0 deletions public/env_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ Window.ENV_VARS = {
REACT_APP_BASEURL: "",
REACT_APP_BASEURL_without_slash: "",
REACT_APP_BASEURL_without_slash_view_data: "",
REACT_APP_BASEURL_FARMER_REGISTRY: ""
};
24 changes: 24 additions & 0 deletions src/Farmer-Registry/CustomText/CustomText.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from "react";
import { Box, Typography } from "@mui/material";

const CustomText = (props) => {
return (
<Box className={props.parentClassName}>
<Typography
className={props.className}
sx={{
fontFamily: "Montserrat",
fontSize: props.size,
fontWeight: props.weight,
lineHeight: props.lineHeight,
textAlign: props.Align ? props.Align : "left",
color: props.color,
}}
>
{props.value}
</Typography>
</Box>
);
};

export default CustomText;
Loading

0 comments on commit 0f883eb

Please sign in to comment.