1 | /*
|
2 | * Copyright (c) Jupyter Development Team.
|
3 | * Distributed under the terms of the Modified BSD License.
|
4 | */
|
5 | import React from 'react';
|
6 | import { classes } from '../utils';
|
7 | /**
|
8 | * Button component
|
9 | *
|
10 | * @param props Component properties
|
11 | * @returns Component
|
12 | */
|
13 | export function Button(props) {
|
14 | const { minimal, small, children, ...others } = props;
|
15 | return (React.createElement("button", { ...others, className: classes(props.className, minimal ? 'jp-mod-minimal' : '', small ? 'jp-mod-small' : '', 'jp-Button') }, children));
|
16 | }
|
17 | //# sourceMappingURL=button.js.map |
\ | No newline at end of file |