chore: new estimates workflow (#927)

* chore: new services for estimates

* chore: new estimates workflow
This commit is contained in:
Aaryan Khandelwal 2023-04-22 00:59:57 +05:30 committed by GitHub
parent cb814dd68b
commit c638b6aba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 349 additions and 587 deletions

View file

@ -1,7 +1,7 @@
import * as React from "react";
// common
import { Props } from "./types";
// types
import { Props } from "./types";
export const Input: React.FC<Props> = ({
label,
@ -21,7 +21,7 @@ export const Input: React.FC<Props> = ({
}) => (
<>
{label && (
<label htmlFor={id} className="mb-2 text-brand-muted-1">
<label htmlFor={id} className="text-brand-muted-1 mb-2">
{label}
</label>
)}
@ -42,7 +42,7 @@ export const Input: React.FC<Props> = ({
: mode === "trueTransparent"
? "rounded border-none bg-transparent ring-0"
: ""
} ${error ? "border-red-500" : ""} ${error && mode === "primary" ? "bg-red-100" : ""} ${
} ${error ? "border-red-500/20" : ""} ${error && mode === "primary" ? "bg-red-500/20" : ""} ${
fullWidth ? "w-full" : ""
} ${size === "rg" ? "px-3 py-2" : size === "lg" ? "p-3" : ""} ${className}`}
{...rest}