@flexis/ui
Version:
Styleless React Components
18 lines • 732 B
TypeScript
import { ReactElement, PureComponent } from 'react';
import PropTypes from 'prop-types';
export interface IProps {
focusable?: boolean;
children: ReactElement<any>;
[prop: string]: any;
}
export default class SROnly extends PureComponent<IProps> {
static propTypes: {
focusable: PropTypes.Requireable<boolean>;
children: PropTypes.Validator<PropTypes.ReactElementLike>;
};
static defaultProps: {
focusable: boolean;
};
render(): ReactElement<any, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)>) | (new (props: any) => import("react").Component<any, any, any>)>;
}
//# sourceMappingURL=SROnly.d.ts.map