Documents / @faasjs/ant-design
@faasjs/ant-design
UI components based on FaasJS, Ant Design and React Router.
Features
- App component with Ant Design & FaasJS.
- UnionFaasItemElement and UnionFaasItemRender for custom union rendering.
Install
npm install @faasjs/ant-design
Usage
In @faasjs/ant-design
, we use FaasItemProps
to provide data structures for components.
type FaasItemType =
'string' | 'string[]' |
'number' | 'number[]' |
'boolean' |
'date' | 'time' |
'object' | 'object[]'
type FaasItemProps = {
type: FaasItemTypes
id: string
title?: string
}
Functions
- App
- Blank
- cloneUnionFaasItemElement
- ConfigContext
- ConfigProvider
- Description
- Drawer
- ErrorBoundary
- faas
- FaasDataWrapper
- Form
- FormItem
- Link
- Loading
- Modal
- PageNotFound
- Routes
- Table
- Tabs
- Title
- transferOptions
- transferValue
- upperFirst
- useApp
- useConfigContext
- useDrawer
- useFaas
- useModal
- useThemeToken
- withFaasData
Interfaces
- AppProps
- BaseItemProps
- BlankProps
- ConfigProviderProps
- DescriptionItemContentProps
- DescriptionItemProps
- DescriptionProps
- DrawerProps
- ErrorBoundaryProps
- ExtendDescriptionTypeProps
- ExtendFormItemProps
- FaasDataWrapperProps
- FaasItemProps
- FormItemProps
- FormProps
- LinkProps
- ModalProps
- RoutesProps
- TableItemProps
- TabProps
- TabsProps
- TitleProps
- UnionFaasItemProps
- useAppProps