forked from sombochea/verdaccio-ui
fix: detailContainer Component - Replaced class by func. comp (#130)
* refactor: coverted class comp. into func.comp * refactor: added forward ref comp. * fix: fixed external link color * fix: fixed typo * refactor: applied feedbacks
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
28c982a7da
commit
f84fd79c5b
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import styled, { css } from 'react-emotion';
|
||||
import Paper from '@material-ui/core/Paper';
|
||||
|
||||
import TextField from '../TextField';
|
||||
import TextField from '../../muiComponents/TextField';
|
||||
|
||||
export interface InputFieldProps {
|
||||
color: string;
|
||||
@@ -17,6 +17,7 @@ export const Wrapper = styled('div')({
|
||||
},
|
||||
});
|
||||
|
||||
/* eslint-disable verdaccio/jsx-spread */
|
||||
export const InputField: React.FC<InputFieldProps> = ({ color, ...others }) => (
|
||||
<TextField
|
||||
{...others}
|
||||
|
||||
Reference in New Issue
Block a user