FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/ant-design

@faasjs/ant-design

UI components based on FaasJS, Ant Design and React Router.

License: MITNPM Version

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
  • ConfigProvider
  • Description
  • ErrorBoundary
  • faas
  • FaasDataWrapper
  • FaasReactClient
  • Form
  • FormItem
  • idToTitle
  • Link
  • Loading
  • PageNotFound
  • Routes
  • Table
  • Tabs
  • Title
  • transferOptions
  • transferValue
  • 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

Type Aliases

  • BaseOption
  • ExtendDescriptionItemProps
  • ExtendFormTypeProps
  • ExtendTableItemProps
  • ExtendTableTypeProps
  • ExtendTypes
  • FaasDataInjection
  • FaasDataWrapperRef
  • FaasItemType
  • FaasItemTypeValue
  • FaasReactClientOptions
  • FormSubmitProps
  • LoadingProps
  • setDrawerProps
  • setModalProps
  • TableFaasDataParams
  • TableFaasDataResponse
  • TableProps
  • UnionFaasItemElement
  • UnionFaasItemInjection
  • UnionFaasItemRender
  • UnionScene

Variables

  • ConfigContext
  • Drawer
  • Modal
  • useApp