update src/components/FormInput/index.js, src/components/ProductSalesAmount/Design1/index.js and src/index.scss

master
mahdi 3 years ago
parent 7e047ff713
commit 4127021e17
  1. 6
      src/components/FormInput/index.js
  2. 4
      src/index.scss

@ -1,4 +1,6 @@
import React, { useState } from "react"; // it has style inside index.scss ---> // Start FormInput Component && end FormInput Component
import React from "react";
import { useForm } from "react-hook-form"; import { useForm } from "react-hook-form";
import DateRangePicker from "../DateRangePicker"; import DateRangePicker from "../DateRangePicker";
@ -9,8 +11,6 @@ import CustomSwitch from "../CustomSwitch";
const FormInput = ({ items }) => { const FormInput = ({ items }) => {
const { register, getValues } = useForm(); const { register, getValues } = useForm();
const [selectedInput, setSelectedInput] = useState(false);
return ( return (
<div className="mx-auto w-fit mt-20 flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse bg-white p-4 py-7 border border-gray-200 rounded-sm shadow-sm"> <div className="mx-auto w-fit mt-20 flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse bg-white p-4 py-7 border border-gray-200 rounded-sm shadow-sm">
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> <div className="flex-grow flex-1 flex flex-col gap-y-4 px-4">

@ -37,6 +37,8 @@ body {
border-radius: 50%; border-radius: 50%;
} }
// TODO Start FormInput Component
.rmdp-container { .rmdp-container {
display: flex !important; display: flex !important;
flex-direction: column-reverse; flex-direction: column-reverse;
@ -47,6 +49,8 @@ body {
transform: none !important; transform: none !important;
} }
// * end FormInput Component
// TODO Start Alert Component // TODO Start Alert Component
// varibale Colors // varibale Colors

Loading…
Cancel
Save