@react-stately/color
Version:
Spectrum UI components in React
30 lines (26 loc) • 1.64 kB
text/typescript
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
export type {ColorAreaState} from './useColorAreaState';
export type {ColorSliderState} from './useColorSliderState';
export type {ColorWheelState} from './useColorWheelState';
export type {ColorFieldState} from './useColorFieldState';
export type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';
export type {ColorPickerProps, ColorPickerState} from './useColorPickerState';
export {parseColor, getColorChannels} from './Color';
export {useColorAreaState} from './useColorAreaState';
export {useColorSliderState} from './useColorSliderState';
export {useColorWheelState} from './useColorWheelState';
export {useColorFieldState} from './useColorFieldState';
export {useColorChannelFieldState} from './useColorChannelFieldState';
export {useColorPickerState} from './useColorPickerState';
export type {Color, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';
export type {ColorSliderStateOptions} from './useColorSliderState';