mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
17 lines
394 B
JavaScript
17 lines
394 B
JavaScript
import React, {useState, useMemo, useCallback} 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
|
|
rightIcon="caret-down"
|
|
fill={true}>
|
|
{ buttonLabel }
|
|
</Button>
|
|
</Select>
|
|
)
|
|
} |