Closed pirhoo closed 2 months ago
Component is here:
https://icij.github.io/datashare-client/?path=/docs/components-pageheader-pageheader--docs
We will probably continue to improve it to work with all pages.
It's awesome!
Should we add the https://icij.github.io/datashare-client/?path=/docs/components-button-buttonadd--docs too?
The "add" button is there already (as an option, if we pass the URL of the add form) :)
The page header must have different slot:
breadcrumb
to replace the breadcrumbactions
to replace the action buttonspagination
to replace the paginationsearch
to replace the search barAnd different props:
filterable
: booleansearchable
: booleansearchPlaceholder
: stringsearchQuery
: string (model)paginable
: booleanpage
: number (model)pageSize
: numberpageTotal
: numberpageRow
: booleannoActionCreate
: booleannoActionSettings
: booleanEvents:
update:searchQuery
update:page
toggleFilters
toggleSettings
toggleCreate