mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
WIP Financial statements.
This commit is contained in:
17
client/src/components/SelectList.js
Normal file
17
client/src/components/SelectList.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user