import { createElement , FC , ReactElement } from 'react' ; import { IHtmlAttributeProps } from './eHtmlAttribute' ; import { GoC } from './propTypes/global' ; import { normalizeProps } from './normalizers' ; export type ISelectorChildren = GoC < ReactElement < IHtmlAttributeProps > > ; export type ISelectorProps = { /**
     * Using the css selector
     */ path ? : string ; /**
     * Children
     */ children : ISelectorChildren ; } ; export const ESelector = props => { const { children , ... rest } = props ; return createElement ( 'mj-selector' , normalizeProps ( rest ) , children ) ; } ; ESelector . displayName = 'ESelector' ;