From 2d244da5c49903c50b91a5e49bb168daf21c4fc9 Mon Sep 17 00:00:00 2001 From: lukzerom Date: Tue, 14 Dec 2021 23:59:22 +0100 Subject: [PATCH] public adnotation Signed-off-by: lukzerom --- packages/core-components/src/components/Select/Select.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core-components/src/components/Select/Select.tsx b/packages/core-components/src/components/Select/Select.tsx index 82be078cd0..022df0a7ad 100644 --- a/packages/core-components/src/components/Select/Select.tsx +++ b/packages/core-components/src/components/Select/Select.tsx @@ -32,6 +32,7 @@ import React, { useEffect, useState } from 'react'; import ClosedDropdown from './static/ClosedDropdown'; import OpenedDropdown from './static/OpenedDropdown'; +/** @public */ export type SelectInputBaseClassKey = 'root' | 'input'; const BootstrapInput = withStyles( @@ -60,6 +61,7 @@ const BootstrapInput = withStyles( { name: 'BackstageSelectInputBase' }, )(InputBase); +/** @public */ export type SelectClassKey = | 'formControl' | 'label' @@ -102,11 +104,13 @@ const useStyles = makeStyles( { name: 'BackstageSelect' }, ); +/** @public */ export type SelectItem = { label: string; value: string | number; }; +/** @public */ export type SelectedItems = string | string[] | number | number[]; export type SelectProps = { @@ -121,6 +125,7 @@ export type SelectProps = { disabled?: boolean; }; +/** @public */ export function SelectComponent(props: SelectProps) { const { multiple,