modal add card in page bank-account
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
function ContentText({ children, text }) {
|
||||
return (
|
||||
<div className="flex flex-col items-start justify-start gap-[12px] md:gap-[14px] lg:gap-[16px] content-text-panel">
|
||||
<p className="text-[#525252] dark:text-[#D7D8ED] text-[14px] font-medium">
|
||||
{text}
|
||||
</p>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default ContentText;
|
||||
@@ -11,6 +11,7 @@ function EditField({
|
||||
name,
|
||||
iconGray,
|
||||
isTransparent,
|
||||
noDisable,
|
||||
}) {
|
||||
return (
|
||||
<div className="relative w-full">
|
||||
@@ -18,7 +19,7 @@ function EditField({
|
||||
value={data?.value}
|
||||
rows={multiline}
|
||||
multiline={multiline}
|
||||
disabled={!data?.isEdit}
|
||||
disabled={noDisable ? false : !data?.isEdit}
|
||||
placeholder={placeholder || ""}
|
||||
type="text"
|
||||
className={`!w-full res-field-account dark:!bg-transparent ${
|
||||
|
||||
Reference in New Issue
Block a user