We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trigger={{ [/[A-Za-z]/]: { dataProvider: (token) => { return mockData.filter((item) => item[entityLabel].toLowerCase().includes(token.toLowerCase()) ); }, component: ({ entity, selected }) => { return ( <MenuItem sx={{ ...MenuItemStyle, borderBottom: '1px solid #F5F5F5' }} onClick={() => { console.log('===>entity', entity) }}> <CustomTypography text={entity[entityLabel]} sx={{ pt: 1, pb: 1, color: '#141414', fontWeight: 700, fontSize: '12px', lineHeight: '16px', fontStyle: 'normal', fontFamily: 'Noto Sans', }} /> ) }, output: (item, trigger) => item[entityLabel] } }}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
trigger={{
[/[A-Za-z]/]: {
dataProvider: (token) => {
return mockData.filter((item) =>
item[entityLabel].toLowerCase().includes(token.toLowerCase())
);
},
component: ({ entity, selected }) => {
return (
<MenuItem sx={{ ...MenuItemStyle, borderBottom: '1px solid #F5F5F5' }} onClick={() => { console.log('===>entity', entity) }}>
<CustomTypography
text={entity[entityLabel]}
sx={{
pt: 1,
pb: 1,
color: '#141414',
fontWeight: 700,
fontSize: '12px',
lineHeight: '16px',
fontStyle: 'normal',
fontFamily: 'Noto Sans',
}}
/>
)
},
output: (item, trigger) => item[entityLabel]
}
}}
The text was updated successfully, but these errors were encountered: