Documents / @faasjs/ant-design
@faasjs/ant-design
@faasjs/ant-design
React UI primitives and data-aware helpers for building FaasJS applications with Ant Design.
@faasjs/ant-design combines FaasJS request helpers and Ant Design components behind a
single public entrypoint.
Install
npm install @faasjs/ant-design
Highlights
- Use App to wire Ant Design feedback APIs and FaasJS config providers.
- Use Form, Description, and Table with shared FaasJS item metadata.
- Use faas, useFaas, useFaasStream, FaasDataWrapper, or withFaasData to bind UI to FaasJS actions.
Usage
import { App, Form } from '@faasjs/ant-design'
export default function Page() {
return (
<App>
<Form items={[{ id: 'name', required: true }]} />
</App>
)
}
Functions
- App
- Blank
- cloneUnionFaasItemElement
- ConfigProvider
- createOnErrorHandler
- Description
- ErrorBoundary
- faas
- FaasDataWrapper
- FaasReactClient
- Form
- FormItem
- idToTitle
- Loading
- renderDisplayValue
- Table
- Tabs
- Title
- transferOptions
- transferValue
- useApp
- useConfigContext
- useDrawer
- useFaas
- useFaasStream
- useModal
- useThemeToken
- withFaasData
Interfaces
- AppProps
- BaseItemProps
- BlankProps
- ConfigProviderProps
- DescriptionCommonProps
- DescriptionItemContentProps
- DescriptionItemProps
- DescriptionWithFaasProps
- DescriptionWithoutFaasProps
- DrawerProps
- ErrorBoundaryProps
- ExtendFormItemProps
- FaasDataWrapperProps
- FaasItemProps
- FormItemProps
- ModalProps
- TableItemProps
- TabProps
- TabsProps
- TitleProps
- UnionFaasItemProps
Type Aliases
- BaseExtendTypeProps
- BaseOption
- ConfigContextValue
- DescriptionProps
- ExtendDescriptionItemProps
- ExtendDescriptionTypeProps
- ExtendFormTypeProps
- ExtendTableItemProps
- ExtendTableTypeProps
- ExtendTypes
- FaasDataInjection
- FaasDataWrapperRef
- FaasItemType
- FaasItemTypeValue
- FaasReactClientOptions
- FormCommonProps
- FormFaasProps
- FormProps
- FormSubmitProps
- FormWithFaasProps
- FormWithoutFaasProps
- LoadingProps
- ResolvedTheme
- setDrawerProps
- setModalProps
- TableFaasDataParams
- TableFaasDataResponse
- TableProps
- UnionFaasItemElement
- UnionFaasItemInjection
- UnionFaasItemRender
- UnionScene
- useAppProps
- UseFaasOptions
- UseFaasStreamOptions
- UseFaasStreamResult