@gdquest/gd-school-mdx-components
Version:
Components specially made to work with GDSchool MDX lesson files.
13 lines • 613 B
TypeScript
/// <reference types="react" />
import PropTypes, { type InferProps } from "prop-types";
export declare function WithPoints({ children, id, points, hidden, usePoints, }: InferProps<typeof WithPoints.propTypes>): JSX.Element;
export declare namespace WithPoints {
var propTypes: {
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
id: PropTypes.Validator<string>;
points: PropTypes.Requireable<number>;
hidden: PropTypes.Requireable<boolean>;
usePoints: PropTypes.Requireable<(...args: any[]) => any>;
};
}
//# sourceMappingURL=WithPoints.d.ts.map