aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/frontend/src/main/components/search/dokkaSearchAnchor.tsx
blob: a502f5895b0064b2169d12210549a6610f71ea01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import React from "react";
import SearchIcon from 'react-svg-loader!../assets/searchIcon.svg';

export const DokkaSearchAnchor = ({wrapperProps, buttonProps, popup}: any) => {
    return (
        <span {...wrapperProps}>
            <button type="button" {...buttonProps}>
                <SearchIcon />
            </button>
            {popup}
        </span>
    )
}