useComponentKeys.ts 247 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 export const useComponentKeys = (scope: string) => { const key = scope; const conKey = `V${scope}`; const configConKey = `VC${scope}`; const datasourceConKey = `VD${scope}`; return { key, conKey, configConKey, datasourceConKey }; };