All files / kernel-ui/src/components/shared Input.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 115x     59x              
export const Input = ({
  ...props
}: React.InputHTMLAttributes<HTMLInputElement>): React.ReactElement => {
  return (
    <input
      className="flex items-center h-9 px-3 rounded border border-border-default text-sm bg-background-default text-text-default transition-colors hover:bg-background-hover focus:outline-none focus:ring-2 focus:ring-primary-default flex-1"
      {...props}
    />
  );
};