mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
16 lines
331 B
JavaScript
16 lines
331 B
JavaScript
import React from 'react';
|
|
import {Button} from '@blueprintjs/core';
|
|
import {Select} from '@blueprintjs/select';
|
|
|
|
export default function SelectList(props) {
|
|
const { buttonLabel, ...rest } = props;
|
|
|
|
return (
|
|
<Select {...rest}>
|
|
<Button
|
|
fill={true}>
|
|
{ buttonLabel }
|
|
</Button>
|
|
</Select>
|
|
)
|
|
} |