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,19 +1,19 @@
|
||||
import { MaterialSymbol, type MaterialSymbolProps } from './MaterialSymbol'
|
||||
import { MaterialSymbol, type MaterialSymbolProps } from "./MaterialSymbol"
|
||||
|
||||
import { iconVariants } from '../variants'
|
||||
import { iconVariants } from "../variants"
|
||||
|
||||
import type { VariantProps } from 'class-variance-authority'
|
||||
import { HTMLAttributes } from 'react'
|
||||
import { getIconAriaProps } from '../utils'
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
import { HTMLAttributes } from "react"
|
||||
import { getIconAriaProps } from "../utils"
|
||||
|
||||
export interface MaterialIconProps
|
||||
extends
|
||||
Pick<MaterialSymbolProps, 'size' | 'icon' | 'className' | 'style'>,
|
||||
Omit<HTMLAttributes<HTMLSpanElement>, 'color' | 'id'>,
|
||||
Pick<MaterialSymbolProps, "size" | "icon" | "className" | "style">,
|
||||
Omit<HTMLAttributes<HTMLSpanElement>, "color" | "id">,
|
||||
VariantProps<typeof iconVariants> {
|
||||
isFilled?: boolean
|
||||
}
|
||||
export type MaterialIconSetIconProps = Omit<MaterialIconProps, 'icon'>
|
||||
export type MaterialIconSetIconProps = Omit<MaterialIconProps, "icon">
|
||||
export function MaterialIcon({
|
||||
color,
|
||||
size = 24,
|
||||
|
||||
Reference in New Issue
Block a user