visuddhinanda 2 years ago
parent
commit
6abe02af67
1 changed files with 20 additions and 0 deletions
  1. 20 0
      dashboard/src/components/export/ExportSettingLayout.tsx

+ 20 - 0
dashboard/src/components/export/ExportSettingLayout.tsx

@@ -0,0 +1,20 @@
+interface IWidget {
+  label?: string;
+  content?: React.ReactNode;
+}
+const ExportSettingLayoutWidget = ({ label, content }: IWidget) => {
+  return (
+    <div
+      style={{
+        display: "flex",
+        justifyContent: "space-between",
+        marginBottom: 4,
+      }}
+    >
+      <span>{label}</span>
+      <span>{content}</span>
+    </div>
+  );
+};
+
+export default ExportSettingLayoutWidget;