/** * Creates a dedicated context namespace HTML attribute for components. * ns is short for "namespace" * * @example * ```jsx *
* ``` * * @param {string} componentName The name for the component. * @return {{ [COMPONENT_NAMESPACE]: string }} A props object with the namespaced HTML attribute. */ export function ns(componentName: string): { [COMPONENT_NAMESPACE]: string; }; export const COMPONENT_NAMESPACE: "data-g2-component"; //# sourceMappingURL=namespaces.d.ts.map