Skip to main content

Type Alias: ViewWithFooterProps

ViewWithFooterProps = object

Defined in: lib/layout/ViewWithFooter.tsx:12

Props for the ViewWithFooter component.

Properties

children

children: React.ReactNode

Defined in: lib/layout/ViewWithFooter.tsx:14

The content to display in the scrollable area


contentClassName?

optional contentClassName: string

Defined in: lib/layout/ViewWithFooter.tsx:16

Additional CSS classes for the content area


footerClassName?

optional footerClassName: string

Defined in: lib/layout/ViewWithFooter.tsx:18

Additional CSS classes for the footer


leftButtonDisabled?

optional leftButtonDisabled: boolean

Defined in: lib/layout/ViewWithFooter.tsx:26

Whether the left button is disabled


leftButtonIcon?

optional leftButtonIcon: null | LucideIcon

Defined in: lib/layout/ViewWithFooter.tsx:28

Icon for the left button


leftButtonLabel?

optional leftButtonLabel: string

Defined in: lib/layout/ViewWithFooter.tsx:20

Label for the left button


leftButtonOnPress

leftButtonOnPress: null | () => void

Defined in: lib/layout/ViewWithFooter.tsx:24

Function to call when left button is pressed


leftButtonVariant?

optional leftButtonVariant: buttonVariantsType

Defined in: lib/layout/ViewWithFooter.tsx:22

Variant for the left button


rightButtonDisabled?

optional rightButtonDisabled: boolean

Defined in: lib/layout/ViewWithFooter.tsx:36

Whether the right button is disabled


rightButtonIcon?

optional rightButtonIcon: null | LucideIcon

Defined in: lib/layout/ViewWithFooter.tsx:38

Icon for the right button


rightButtonLabel?

optional rightButtonLabel: string

Defined in: lib/layout/ViewWithFooter.tsx:30

Label for the right button


rightButtonOnPress()

rightButtonOnPress: () => void

Defined in: lib/layout/ViewWithFooter.tsx:34

Function to call when right button is pressed

Returns

void


rightButtonVariant?

optional rightButtonVariant: buttonVariantsType

Defined in: lib/layout/ViewWithFooter.tsx:32

Variant for the right button