Skip to content

Commit

Permalink
Implement UseMediaQuery showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
aerialist7 committed Oct 7, 2023
1 parent cf225e6 commit 859c7d9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
package team.karakum.showcase.material.utils

import mui.material.useMediaQuery
import react.FC
import react.Props
import react.dom.html.ReactHTML.span

val UseMediaQueryShowcase = FC<Props> {
+"Not implemented"
val matches = useMediaQuery("(min-width:600px)")

span {
+"(min-width:600px) matches: $matches"
}
}

0 comments on commit 859c7d9

Please sign in to comment.