Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
'use client'
|
||||
"use client"
|
||||
|
||||
import { Button as ButtonRAC } from 'react-aria-components'
|
||||
import { MaterialIcon } from '../../Icons/MaterialIcon'
|
||||
import { VideoPlayerButtonProps } from './types'
|
||||
import { variants } from './variants'
|
||||
import styles from './videoPlayerButton.module.css'
|
||||
import { Button as ButtonRAC } from "react-aria-components"
|
||||
import { MaterialIcon } from "../../Icons/MaterialIcon"
|
||||
import { VideoPlayerButtonProps } from "./types"
|
||||
import { variants } from "./variants"
|
||||
import styles from "./videoPlayerButton.module.css"
|
||||
|
||||
export function VideoPlayerButton({
|
||||
iconName,
|
||||
@@ -32,13 +32,13 @@ export function VideoPlayerButton({
|
||||
)
|
||||
}
|
||||
|
||||
function getIconSize(size: VideoPlayerButtonProps['size']) {
|
||||
function getIconSize(size: VideoPlayerButtonProps["size"]) {
|
||||
switch (size) {
|
||||
case 'sm':
|
||||
case "sm":
|
||||
return 28
|
||||
case 'lg':
|
||||
case "lg":
|
||||
return 40
|
||||
case 'md':
|
||||
case "md":
|
||||
default:
|
||||
return 32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user