<commit_before>import * as React from "react"
import SvgIcon from "../SvgIcon/index"
import { ThemedProps, IntentType } from '../../../Common/theming/types'
import UpTooltip, { Tooltip } from '../../Display/Tooltip/index'
import UpBut from "../../Inputs/Button/index"


export interface UpLogoAlerteProps {
    title?: string;
    alerteNumber?: number;
    intenet?: IntentType
}

export interface UpLogoAlerteState {

}

export default class UpLogoAlerte extends React.Component<UpLogoAlerteProps, UpLogoAlerteState>{
    public static defaultProps: UpLogoAlerteProps = {
        intenet: "default",
        alerteNumber: 0,
        title: ""
    };

    constructor(p, c) {
        super(p, c);
        this.state = {};
    }



    render() {

        var styleLogoAlerte: React.CSSProperties = {
            width: 50,
            margin: "0 5px"
        }

        var StyleLogoAlerteIcon: React.CSSProperties = {
            borderRadius: "35px",
            boxShadow: "1px 1px 8px #aaa",
            fontSize: "24px",
            height: "50px",
            lineHeight: "36px",
            textAlign: "center",
            width: "50px",
            border: "7px solid #7FD2AC",
            padding: "0px 4px"
        }

        var styleTexteLogo: React.CSSProperties = {
            display: " block",
            textAlign: "center",
            fontWeight: 300,
            fontSize: 30
        }

        //return <UpBut tooltip="test" actionType="add" onClick={() => { }}></UpBut>


        return <UpTooltip content={this.props.title}>
            <div style={styleLogoAlerte}>
                <div style={StyleLogoAlerteIcon} className="logoAlerte bg-green">
                    <SvgIcon height={24} iconName="user" />
                </div>
                <div style={styleTexteLogo} className="texteLogo">
                    <span className="nombre text-success">{this.props.alerteNumber}</span>
                </div>
            </div>
        </UpTooltip>
    }
}<commit_msg>set icon<commit_after>import * as React from "react"
import SvgIcon from "../SvgIcon/index"
import { IconName } from "../SvgIcon/icons"
import { ThemedProps, IntentType } from '../../../Common/theming/types'
import UpTooltip, { Tooltip } from '../../Display/Tooltip/index'
import UpBut from "../../Inputs/Button/index"


export interface UpLogoAlerteProps {
    icon: IconName;
    title?: string;
    alerteNumber?: number;
    intenet?: IntentType
}

export interface UpLogoAlerteState {

}

export default class UpLogoAlerte extends React.Component<UpLogoAlerteProps, UpLogoAlerteState>{
    public static defaultProps: UpLogoAlerteProps = {
        intenet: "default",
        alerteNumber: 0,
        title: "",
        icon : "none"
    };

    constructor(p, c) {
        super(p, c);
        this.state = {};
    }



    render() {

        var styleLogoAlerte: React.CSSProperties = {
            width: 50,
            margin: "0 5px"
        }

        var StyleLogoAlerteIcon: React.CSSProperties = {
            borderRadius: "35px",
            boxShadow: "1px 1px 8px #aaa",
            fontSize: "24px",
            height: "50px",
            lineHeight: "36px",
            textAlign: "center",
            width: "50px",
            border: "7px solid #7FD2AC",
            padding: "0px 4px"
        }

        var styleTexteLogo: React.CSSProperties = {
            display: " block",
            textAlign: "center",
            fontWeight: 300,
            fontSize: 30
        }

        //return <UpBut tooltip="test" actionType="add" onClick={() => { }}></UpBut>


        return <UpTooltip content={this.props.title}>
            <div style={styleLogoAlerte}>
                <div style={StyleLogoAlerteIcon} className="logoAlerte bg-green">
                    <SvgIcon height={24} iconName={this.props.icon} />
                </div>
                <div style={styleTexteLogo} className="texteLogo">
                    <span className="nombre text-success">{this.props.alerteNumber}</span>
                </div>
            </div>
        </UpTooltip>
    }
}
{'fraction_non_alphanumeric': 0.12808604253238817, 'fraction_numerical': 0.014666340747983378, 'mean_word_length': 1.9207708779443255, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '129617', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1220, 'n_words': 271}