Add ComboInput component

This commit is contained in:
2022-03-14 21:11:28 +08:00
parent 79036a85c6
commit adf1475be8
5 changed files with 60 additions and 16 deletions
+7 -6
View File
@@ -11,6 +11,7 @@ type IPickerListItem = CtrlObject | Label;
type IDisplayItem = {
nameKey: AllI18nKeys;
key: string;
mark?: boolean;
}
interface IPickerListProps {
@@ -82,12 +83,12 @@ class PickerList extends Component<IPickerListProps> {
}
}}
>
<div
className="list-item-name"
style={{
paddingLeft: 10
}}
>
<div className="list-item-icon">
<Icon iconName="CheckMark" style={{
display: item.mark ? "block" : "none"
}}/>
</div>
<div className="list-item-name">
<Localization i18nKey={item.nameKey}/>
</div>
</div>;