mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP: customer form styling.
fix: journal increment number settings.
This commit is contained in:
22
client/src/components/SalutationList.js
Normal file
22
client/src/components/SalutationList.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import {
|
||||
ListSelect,
|
||||
} from 'components';
|
||||
|
||||
export default function SalutationList({
|
||||
...restProps
|
||||
}) {
|
||||
const saluations = ['Mr.', 'Mrs.', 'Ms.', 'Miss', 'Dr.'];
|
||||
const items = saluations.map((saluation) => ({ key: saluation, label: saluation }));
|
||||
|
||||
return (
|
||||
<ListSelect
|
||||
items={items}
|
||||
selectedItemProp={'key'}
|
||||
labelProp={'label'}
|
||||
defaultText={'Salutation'}
|
||||
filterable={false}
|
||||
{...restProps}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user