<commit_before>import React from "react";
import {hyperscript as h} from "neutrine-utils";

import "siimple/scss/elements/_list.scss";

//List component 
export class List extends React.Component {
    render () {
        let classList = ["siimple-list"];
        //Check the hover prop
        if (this.props.hover === true) {
            classList.push("siimple-list--hover");
        }
        return h("div", {className: classList}, this.props.children);
    }
}

//List default props 
List.defaultProps = {
    hover: false
};

//List item component 
export class ListItem extends React.Component {
    render() {
        return h("div", {className: "siimple-list-item"}, this.props.children);
    }
}

//List title component 
export class ListTitle extends React.Component {
    render() {
        return h("div", {className: "siimple-list-title"}, this.props.children);
    }
}
<commit_msg>Added style as props in list, list-item and list-title components<commit_after>import React from "react";
import {hyperscript as h} from "neutrine-utils";

import "siimple/scss/elements/_list.scss";

//List component 
export class List extends React.Component {
    render () {
        let classList = ["siimple-list"];
        //Check the hover prop
        if (this.props.hover === true) {
            classList.push("siimple-list--hover");
        }
        return h("div", {className: classList, style: this.props.style}, this.props.children);
    }
}

//List default props 
List.defaultProps = {
    hover: false,
    style: null
};

//List item component 
export class ListItem extends React.Component {
    render() {
        return h("div", {className: "siimple-list-item", style: this.props.style}, this.props.children);
    }
}

//List item default props 
ListItem.defaultProps = {style: null};

//List title component 
export class ListTitle extends React.Component {
    render() {
        return h("div", {className: "siimple-list-title", style: this.props.style}, this.props.children);
    }
}

//List title default props 
ListTitle.defaultProps = {style: null};

{'fraction_non_alphanumeric': 0.1364513018322083, 'fraction_numerical': 0.0, 'mean_word_length': 3.005791505791506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '618534', 'n_tokens_mistral': 627, 'n_tokens_neox': 612, 'n_words': 171}