WIP: customer form styling.

fix: journal increment number settings.
This commit is contained in:
Ahmed Bouhuolia
2020-11-07 22:01:10 +02:00
parent 9b6b2e67db
commit 1ff2d924d0
25 changed files with 1037 additions and 606 deletions

View 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}
/>
);
}