<commit_before>import React, { PureComponent } from 'react';

import ExampleContainer from '../ExampleContainer';
import PersonFinder2 from '../../src/react-chayns-personfinder_2/component/PersonFinder';

export default class PersonFinder2Example extends PureComponent {
    static handleSelect(user) {
        chayns.dialog.alert(JSON.stringify(user, null, 2));
    }

    render() {
        return (
            <ExampleContainer headline="PersonFinder (using chayns-Relations)">
                <PersonFinder2
                    style={{ width: '100%' }}
                    dynamic
                    placeholder="User/Site"
                    onChange={PersonFinder2Example.handleSelect}
                />
                <PersonFinder2
                    style={{ width: '100%' }}
                    dynamic
                    placeholder="Sites"
                    defaultValue={{
                        name: 'Tobit.Software',
                        siteId: '67231-11058'
                    }}
                    onChange={PersonFinder2Example.handleSelect}
                    persons={false}
                />
                <PersonFinder2
                    style={{ width: '100%' }}
                    dynamic
                    placeholder="Users"
                    onChange={PersonFinder2Example.handleSelect}
                    sites={false}
                />
            </ExampleContainer>
        );
    }
}
<commit_msg>Add marginBottom to PersonFinder-example<commit_after>import React, { PureComponent } from 'react';

import ExampleContainer from '../ExampleContainer';
import PersonFinder2 from '../../src/react-chayns-personfinder_2/component/PersonFinder';

export default class PersonFinder2Example extends PureComponent {
    static handleSelect(user) {
        chayns.dialog.alert(JSON.stringify(user, null, 2));
    }

    render() {
        return (
            <ExampleContainer
                headline="PersonFinder (using chayns-Relations)"
                style={{ marginBottom: '300px' }}
            >
                <PersonFinder2
                    style={{ width: '100%' }}
                    dynamic
                    placeholder="User/Site"
                    onChange={PersonFinder2Example.handleSelect}
                />
                <PersonFinder2
                    style={{ width: '100%' }}
                    dynamic
                    placeholder="Sites"
                    defaultValue={{
                        name: 'Tobit.Software',
                        siteId: '67231-11058'
                    }}
                    onChange={PersonFinder2Example.handleSelect}
                    persons={false}
                />
                <PersonFinder2
                    style={{ width: '100%' }}
                    dynamic
                    placeholder="Users"
                    onChange={PersonFinder2Example.handleSelect}
                    sites={false}
                />
            </ExampleContainer>
        );
    }
}

{'fraction_non_alphanumeric': 0.09623015873015874, 'fraction_numerical': 0.02017195767195767, 'mean_word_length': 1.2847432024169185, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3306749', 'n_tokens_mistral': 734, 'n_tokens_neox': 683, 'n_words': 124}