Documents / @faasjs/ant-design
@faasjs/ant-design
UI components based on FaasJS, Ant Design and React Router.
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
- ConfigProvider
- Description
- Drawer
- ErrorBoundary
- faas
- FaasDataWrapper
- Form
- FormItem
- Link
- Loading
- Modal
- PageNotFound
- Routes
- Table
- Tabs
- Title
- transferOptions
- transferValue
- upperFirst
- useApp
- useConfigContext
- useDrawer
- useFaas
- useModal
- 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
Type Aliases
- BaseOption
- ExtendDescriptionItemProps
- ExtendFormTypeProps
- ExtendTableItemProps
- ExtendTableTypeProps
- ExtendTypes
- FaasDataInjection
- FaasItemType
- FaasItemTypeValue
- FormSubmitProps
- LoadingProps
- setDrawerProps
- setModalProps
- TableProps
- UnionFaasItemElement
- UnionFaasItemInjection
- UnionFaasItemRender
- UnionScene