Skip to content

Commit

Permalink
material-ui: fix Tooltip children prop
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Jun 29, 2020
1 parent df157c6 commit b6128ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ lazy val materialUiCore =
reactDocGenRepoUrl := materialUiGitUrl,
reactDocGenRepoRef := ("v" + materialUiCoreVersion),
propInfoTransformer := commonPropInfoTransformer.orElse {
case (ComponentInfo("ClickAwayListener", _, _), p @ PropInfo("children", _, _, _, _, _)) =>
case (ComponentInfo("ClickAwayListener" | "Tooltip", _, _), p @ PropInfo("children", _, _, _, _, _)) =>
p.copy(
required = true,
propTypeCode = "VdomElement",
imports = CommonImports.VdomElement
)
Expand Down

0 comments on commit b6128ea

Please sign in to comment.