# ITimePickerProps

## Definition

```tsx
interface ITimePickerProps {
    /**
    * The title
    */
    title: string
    /**
     * The currently selected time. Either a Date object or an time string (Ex: 01:10:00 pm)
     */
    time: string | Date,
    /**
    * Callback that gets executed whenever a time is selected/changed in the time picker
    */
    onChange: (date: Date) => void,
    /**
    * Set to true to prevent a user from typing in a date
    */
    disableInput?: boolean,
    /**
     * hide the clock icon 
     */
    hideLabels?: boolean,

    spacingMode?: SpacingMode
}
```

## Usage

```tsx
import { ITimePickerProps } from 'uxp/components';
```

## Related Types

* [SpacingMode](https://help.iviva.com/uxp/v5/additional-resources/types/spacingmode)
