MCPcopy Create free account
hub / github.com/baiwumm/react-admin / ProFormSort

Function ProFormSort

Xmw_web/src/components/CommonProForm/index.tsx:111–128  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

109 * @author: 白雾茫茫丶
110 */
111export const ProFormSort: FC<ProFormDigitProps> = (props) => {
112 const { formatMessage } = useIntl();
113 return (
114 (
115 <ProFormDigit
116 label={formatMessage({ id: INTERNATION.SORT })}
117 name="sort"
118 colProps={{ span: 24 }}
119 min={1}
120 max={99}
121 initialValue={1}
122 tooltip={formatMessage({ id: INTERNATION.SORT_TIP })}
123 fieldProps={{ precision: 0 }}
124 {...props}
125 />
126 )
127 )
128}
129
130/**
131 * @description: 描述

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected