Skip to content

Commit

Permalink
fix: added missing prop on Accordion.Header
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarcosp committed Aug 19, 2022
1 parent 165d063 commit f464d64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Radix.res
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ module Accordion = {

module Header = {
@react.component @module("@radix-ui/react-accordion")
external make: (~children: React.element, ~className: string=?) => React.element = "Header"
external make: (
~children: React.element,
~asChild: bool=?,
~className: string=?,
) => React.element = "Header"
}

module Trigger = {
Expand Down

0 comments on commit f464d64

Please sign in to comment.