grepsr-ui-elements
Version:
28 lines (27 loc) • 723 B
TypeScript
import PropTypes from "prop-types";
import { ReactNode, SyntheticEvent } from "react";
interface tabArray {
label: string | ReactNode;
value: string | number;
content: string | ReactNode | null;
}
interface BlockTabProps {
value?: any;
onChange: (event: SyntheticEvent, newValue: string) => void | undefined;
tabArray: tabArray[];
alignItems: string;
className?: string | undefined;
sx?: any;
hideTabContent?: boolean;
}
export { BlockTabProps };
declare const GrepsrBlockTabs: {
(props: BlockTabProps): JSX.Element;
defaultProps: {
className: string;
};
propTypes: {
alignItems: PropTypes.Validator<string>;
};
};
export default GrepsrBlockTabs;