UNPKG

@leoncik/p14-hrnet-plugin

Version:

A custom select menu component made for my 14th OpenClassrooms project

12 lines (11 loc) 508 B
import React from 'react'; export interface selectMenuProps { id: string | undefined; hiddenSelectRef: React.RefObject<HTMLSelectElement>; hiddenOptionText: string; hiddenOptionValue: string; inputRef: React.RefObject<HTMLOptionElement> | undefined; optionsValues: Array<string> | undefined; } declare const HiddenSelect: ({ hiddenSelectRef, id, hiddenOptionText, hiddenOptionValue, inputRef, optionsValues, }: selectMenuProps) => JSX.Element; export default HiddenSelect;