Add Privacy Policy related improvements
various thing to make sure we're GDPR, et al compliant
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
import { getActiveClasses } from 'get-active-classes'
|
||||
|
||||
const InputText = ({ value, isEditable, onChange, className }) => {
|
||||
const InputText = ({
|
||||
value,
|
||||
isEditable,
|
||||
onChange,
|
||||
className,
|
||||
isInvalid = false,
|
||||
}) => {
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
@@ -10,7 +16,12 @@ const InputText = ({ value, isEditable, onChange, className }) => {
|
||||
className
|
||||
)}
|
||||
>
|
||||
<div className="absolute inset-0 mb-2 rounded bg-gray-200 shadow-inner" />
|
||||
<div
|
||||
className={getActiveClasses(
|
||||
'absolute inset-0 mb-2 rounded bg-gray-200 shadow-inner',
|
||||
{ 'border border-red-500': isInvalid }
|
||||
)}
|
||||
/>
|
||||
<input
|
||||
className="pl-2 pt-1 text-indigo-800 font-medium mb-px pb-px bg-transparent relative"
|
||||
onChange={onChange}
|
||||
|
||||
Reference in New Issue
Block a user