add rudimentary Text editor

This commit is contained in:
GhostedGaming 2024-12-24 21:51:56 -05:00 committed by BitSyndicate
parent ede3c3e906
commit 818456af5e
Signed by untrusted user: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
6 changed files with 229 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import React from "react";
import Select from "react-select";
import { customStyles } from "../constants/customStyles";
import { languageOptions } from "../constants/languageOptions";
const LanguagesDropdown = ({ onSelectChange }) => {
return (
<Select
placeholder={`Filter By Category`}
options={languageOptions}
styles={customStyles}
defaultValue={languageOptions[0]}
onChange={(selectedOption) => onSelectChange(selectedOption)}
/>
);
};
export default LanguagesDropdown;