mirror of
https://github.com/wassname/talk.git
synced 2026-07-22 13:00:29 +08:00
Working
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user