Skip to content

Commit

Permalink
Update bottom actions doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tumanov-alex committed Oct 31, 2023
1 parent e70b977 commit c08b989
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions src/quo/components/drawers/bottom_actions/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,26 @@
:actions - keyword (default nil) - :1-action/:2-actions
:description - string (default nil) - Description to display below the title
:button-one-disabled? - bool (default false) - Whether the first button is
disabled
:button-two-disabled? - bool (default false) - Whether the second button is
disabled
:button-one-label - string (default nil) - Label for the first button
:button-two-label - string (default nil) - Label for the second button
:button-one-press - fn (default nil) - Function to call when the first button is pressed
:button-two-press - fn (default nil) - Function to call when the second button is pressed
:theme - :light/:dark
:scroll? - bool (default false) - Whether the iOS Home Indicator should be
rendered
:customization-color - keyword (default nil) - Color for the first button
:button-one-type - same as button/button :type
:button-two-type - same as button/button :type
:button-one-props - map (default nil) - Props for the first button
:button-two-props - map (default nil) - Props for the second button"
:button-one-props - {
:type same as button/button :type
:on-press - fn (default nil) - Function to call when the first
button is pressed
:disabled? - bool (default false) - Whether the first button is
disabled
:label - string (default nil) - Label for the first button
} - Props for the first button
:button-two-props - {
:type same as button/button :type
:on-press - fn (default nil) - Function to call when the second
button is pressed
:disabled? - bool (default false) - Whether the second button is
disabled
:label - string (default nil) - Label for the second button
} - Props for the second button"
[props]
(let [{:keys [actions description theme
scroll? customization-color
Expand Down

0 comments on commit c08b989

Please sign in to comment.