MultiSelect.tsx 519 B

123456789101112131415161718192021222324252627
  1. import React, { Component } from "react";
  2. import styled from "styled-components";
  3. type PropsType = {};
  4. type StateType = {
  5. options: { label: string; value: string }[];
  6. };
  7. export default class MultiSelect extends Component<PropsType, StateType> {
  8. state = {
  9. options: [] as { label: string; value: string }[],
  10. };
  11. renderOptions = () => {};
  12. render() {
  13. return (
  14. <>
  15. <StyledMultiSelect></StyledMultiSelect>
  16. boilerplate
  17. </>
  18. );
  19. }
  20. }
  21. const StyledMultiSelect = styled.div``;