UNPKG

react95-native

Version:

Refreshed Windows 95 style UI components for your React Native app

15 lines (14 loc) 450 B
import React from 'react'; import type { Theme, AnyValue } from '../../types'; export declare type Option = { label: React.ReactNode; value: AnyValue; }; declare type SelectOptionsProps = { options: Array<Option>; values: [AnyValue]; onChange: (option: Option) => void; theme: Theme; }; export default function getSelectOptions({ options, values, onChange, theme, }: SelectOptionsProps): [Option[], JSX.Element[]]; export {};