[Metro] Switch findByDisplayName/All to use dNameFilter
This commit is contained in:
parent
ebbfe83674
commit
f5552e1ba6
1 changed files with 2 additions and 3 deletions
|
@ -72,7 +72,6 @@ export const findByProps: PropsFinder = (...props) => find(propsFilter(props));
|
||||||
export const findByPropsAll: PropsFinderAll = (...props) => findAll(propsFilter(props));
|
export const findByPropsAll: PropsFinderAll = (...props) => findAll(propsFilter(props));
|
||||||
export const findByName = (name: string, defaultExp = true) => find(nameFilter(name, defaultExp));
|
export const findByName = (name: string, defaultExp = true) => find(nameFilter(name, defaultExp));
|
||||||
export const findByNameAll = (name: string, defaultExp = true) => findAll(nameFilter(name, defaultExp));
|
export const findByNameAll = (name: string, defaultExp = true) => findAll(nameFilter(name, defaultExp));
|
||||||
// TODO: Make this use dNameFilter
|
export const findByDisplayName = (displayName: string, defaultExp = true) => find(dNameFilter(displayName, defaultExp));
|
||||||
export const findByDisplayName = (displayName: string, defaultExp = true) => find(nameFilter(displayName, defaultExp));
|
export const findByDisplayNameAll = (displayName: string, defaultExp = true) => findAll(dNameFilter(displayName, defaultExp));
|
||||||
export const findByDisplayNameAll = (displayName: string, defaultExp = true) => findAll(nameFilter(displayName, defaultExp));
|
|
||||||
export const findByStoreName = (name: string) => find(storeFilter(name));
|
export const findByStoreName = (name: string) => find(storeFilter(name));
|
Loading…
Reference in a new issue