mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
styling: Enforced styling across all files (#55)
This commit is contained in:
165 files changed
+1879
-1725
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import React from "react";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import Avatar from "@material-ui/core/Avatar";
|
||||
import { green } from "@material-ui/core/colors";
|
||||
import { Button } from "@material-ui/core";
|
||||
import Nui from "../../os/nui-events/utils/Nui";
|
||||
import React from 'react';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import Avatar from '@material-ui/core/Avatar';
|
||||
import { green } from '@material-ui/core/colors';
|
||||
import { Button } from '@material-ui/core';
|
||||
import Nui from '../../os/nui-events/utils/Nui';
|
||||
|
||||
interface IStyles {
|
||||
root: any;
|
||||
@@ -13,8 +13,8 @@ interface IStyles {
|
||||
const useStyles = makeStyles(
|
||||
(theme): IStyles => ({
|
||||
root: {
|
||||
display: "flex",
|
||||
"& > *": {
|
||||
display: 'flex',
|
||||
'& > *': {
|
||||
margin: theme.spacing(1),
|
||||
},
|
||||
padding: 0,
|
||||
@@ -36,8 +36,8 @@ export const AppIcon = ({ id, name, icon, backgroundColor, color }) => {
|
||||
});
|
||||
|
||||
const openAppCallback = () => {
|
||||
Nui.send(`phone:app:${id}`)
|
||||
}
|
||||
Nui.send(`phone:app:${id}`);
|
||||
};
|
||||
|
||||
return (
|
||||
<Button onClick={openAppCallback} className={classes.root}>
|
||||
|
||||
Reference in new issue
Block a user