import { InnerInput } from "../Input/input"; import { Icon } from "../../Icon"; import { splitProps } from "solid-js"; import { InputProps } from "../Input/input"; interface SearchProps extends InputProps { enterButton?: any, onSearch?: any, } export function Search (props: SearchProps) { const [local, others] = splitProps(props, ['enterButton', 'onEnter', 'onSearch']); const suffix = !local.enterButton ? : null; let append = null; if (local.enterButton) { append = typeof local.enterButton === 'string' ? local.enterButton : ; } return }