This commit is contained in:
Belén Curcio
2018-07-24 13:22:22 -03:00
parent 50e46b4606
commit 96e7407d4c
5 changed files with 18 additions and 18 deletions
@@ -13,7 +13,7 @@ interface InnerProps {
body: (props: RenderProps) => any;
// body: React.ReactElement<any> | null;
children: (props: RenderProps) => any;
description: string;
description?: string;
id?: string;
onClose?: () => void;
className?: string;
@@ -57,7 +57,7 @@ class Popover extends React.Component<InnerProps> {
{(props: Props) => (
<div
id={id}
aria-role="popup"
role="popup"
aria-labelledby={`${id}-ariainfo`}
aria-hidden={!visible}
>
@@ -7,8 +7,8 @@ interface InnerProps extends InputHTMLAttributes<HTMLInputElement> {
classes?: typeof styles;
}
const Input: StatelessComponent<InnerProps> = ({ className, ...rest }) => {
const TextField: StatelessComponent<InnerProps> = ({ className, ...rest }) => {
return <input {...rest} className={cn(styles.root, className)} />;
};
export default Input;
export default TextField;