import React from 'react';

import { createChapter } from 'components/chapter';
import Equation from 'components/equation';

const title = 'Cauchyjeva porazdelitev';

function Title(props) {
    return (
        <span>
            { props.title }{' '}
            <Equation math="Cauchy(a, b)" />
        </span>
    );
}

function Chapter() {
    return (
        <div>
            <p>
                ...
            </p>
        </div>
    );
}

export default createChapter(title, Chapter, [], { Title });
import React from 'react';

import { createChapter } from 'components/chapter';
import Equation from 'components/equation';

const title = 'Cauchyjeva porazdelitev';

function Title(props) {
    return (
        <span>
            { props.title }{' '}
            <Equation math="f(a, b)" />
        </span>
    );
}

function Chapter() {
    return (
        <div>
            <p>
                ...
            </p>
        </div>
    );
}

export default createChapter(title, Chapter, [], { Title });
rename distribution function