@hydroperx/metrodesign
    Preparing search index...

    Function Tile

    • Live tile inside a TileGroup container.

      Parameters

      • params: {
            background?: string;
            children?: ReactNode;
            className?: string;
            disabled?: boolean;
            foreground?: string;
            iconSize?: number;
            id: string;
            ref?: Ref<HTMLButtonElement | null>;
            size: TileSize;
            style?: CSSProperties;
            x?: number;
            y?: number;
        }
        • Optionalbackground?: string

          Background color. If unspecified, the tile is transparent.

        • Optionalchildren?: ReactNode
        • OptionalclassName?: string
        • Optionaldisabled?: boolean

          Whether the tile is disabled or not.

        • Optionalforeground?: string

          Foreground color. If unspecified, defaults to the theme's color.

        • OptionaliconSize?: number

          Icon size percent inside 47x47 logical pixels. Clamps to minimum 60%.

          100
          
        • id: string

          The unique ID of the tile (unique across groups).

        • Optionalref?: Ref<HTMLButtonElement | null>
        • size: TileSize

          Tile size variant.

        • Optionalstyle?: CSSProperties
        • Optionalx?: number

          Tile X-coordinate in 1x1 tile units. If -1 or unspecified, y is also taken as -1 and the tile is added to the end of the group.

        • Optionaly?: number

          Tile Y-coordinate in 1x1 tile units. If -1 or unspecified, x is also taken as -1 and the tile is added to the end of the group.

      Returns ReactNode