From 046c9af4b34cf572ae834cf6745990828fddcfa2 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 18 Mar 2021 03:54:07 +0300 Subject: feat: improve components style --- src/components/Input.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/components/Input.tsx') diff --git a/src/components/Input.tsx b/src/components/Input.tsx index 896a974..a8a6f31 100644 --- a/src/components/Input.tsx +++ b/src/components/Input.tsx @@ -5,14 +5,17 @@ export interface Props extends React.InputHTMLAttributes { label?: string; } +const focusStyles = 'focus:outline-none focus:shadow focus:border-gray-400'; +const baseStyles = 'p-2 border bg-white border-gray-300 rounded-sm'; + const InputBase: React.FC = ({ label, ...props }) => { return (
- +
-- cgit v1.2.3