funda-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
11 lines (10 loc) • 451 B
TypeScript
import { isJSON, isValidNumeric } from "./validate";
/**
* Set a default JSON format configuration
*
* @param {*} props - Set some default keys and values.
* @param {*} options - A JSON variable passed in from outside, including key and value.
* @return {JSON} - Merge the new and old values.
*/
declare function setDefaultOptions(props: any, options: any): any;
export { setDefaultOptions, isJSON, isValidNumeric };