diff --git a/assets/js/src/common/form/select/select.tsx b/assets/js/src/common/form/select/select.tsx new file mode 100644 index 0000000000..5165b936d6 --- /dev/null +++ b/assets/js/src/common/form/select/select.tsx @@ -0,0 +1,38 @@ +import React from 'react'; +import classnames from 'classnames'; + +type Props = { + children?: React.ReactNode, + size?: 'small', + isFullWidth?: boolean, + iconStart?: JSX.Element, + [attribute: string]: any, // any HTML attributes, e.g. name, id +}; + +const Select = ({ + children, + size, + isFullWidth, + iconStart, + ...attributes +}: Props) => ( +