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

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