mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
Update lang util with tablet layout
This commit is contained in:
parent
86704bb41d
commit
2aa0432868
@ -66,7 +66,7 @@ export type QuartzComponentProps = {
|
||||
cfg: GlobalConfiguration
|
||||
tree: Node<QuartzPluginData>
|
||||
allFiles: QuartzPluginData[]
|
||||
displayClass?: "mobile-only" | "desktop-only"
|
||||
displayClass?: "mobile-only" | "tablet-only" | "desktop-only"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ export function capitalize(s: string): string {
|
||||
}
|
||||
|
||||
export function classNames(
|
||||
displayClass?: "mobile-only" | "desktop-only",
|
||||
displayClass?: "mobile-only" | "tablet-only" | "desktop-only",
|
||||
...classes: string[]
|
||||
): string {
|
||||
if (displayClass) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user