@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
7 lines (6 loc) • 449 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { SearchIcon } from '@amsterdam/design-system-react-icons';
import { forwardRef } from 'react';
import { Button } from '../Button';
export const SearchFieldButton = forwardRef(({ children = 'Zoeken', ...restProps }, ref) => (_jsx(Button, { ...restProps, icon: SearchIcon, iconOnly: true, ref: ref, type: "submit", children: children })));
SearchFieldButton.displayName = 'SearchField.Button';