templates

page list

Template para tela de listagem básica. Segue espaçamentos, estilizações e padrões já pré-definidos por um designer de produto.

demo interativa

Uma versão de interativa do componente desenvolvido.

propriedades*

propertydescriptionrequireddefault valuetype

description

The description of the page.

falseundefinedstring

title

The title of the page.

trueundefinedstring

table

The table configuration for the page.

trueundefined{ columns: IColumn[]; rows: IRow[]; }

pagination

The pagination configuration for the page.

falseundefined{ currentPage: number; pageCount: number; handlePaginationChange: (newPage: number) => void; }

isLoading

A boolean that indicates if the table is loading.

falsefalseboolean

isLoadingComponent

JSX Element that will be rendered when isLoading is true, it replaces the default loading component.

falseundefinedElement

isEmpty

A boolean that indicates if the table has any error.

falsefalseboolean

isEmptyComponent

JSX Element that will be rendered when isEmpty is true, it replaces the default empty component.

falseundefinedElement

isError

The error state of the page.

falsefalseboolean

isErrorComponent

JSX Element that will be rendered when isError is true, it replaces the default error component.

falseundefinedElement

filter

The filter configuration for the page.

falseundefined{ form: ReactNode; onFilter: () => void; onClean: () => void; onClose: () => void; }

header

Page header.

falseundefinedReactNode

*valores gerados automaticamente.

PageList with custom header