ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
46 lines (45 loc) • 689 B
text/typescript
export const sanitizeInputRestProps = ({
afterSubmit,
allowNull,
alwaysOn,
beforeSubmit,
component,
data,
defaultValue,
error,
format,
formatOnBlur,
initializeForm,
input,
isEqual,
isRequired,
label,
limitChoicesToValue,
locale,
meta,
multiple,
name,
options,
optionText,
optionValue,
parse,
record,
ref,
refetch,
render,
resource,
setFilter,
setPagination,
setSort,
shouldUnregister,
source,
submitError,
subscription,
textAlign,
translate,
translateChoice,
validate,
validateFields,
value,
...rest
}: any) => rest;