UNPKG

@zendeskgarden/container-schedule

Version:

Containers relating to schedule in the Garden Design System

16 lines (15 loc) 718 B
/** * Copyright Zendesk, Inc. * * Use of this source code is governed under the Apache License, Version 2.0 * found at http://www.apache.org/licenses/LICENSE-2.0. */ import React from 'react'; import { IUseScheduleProps, IUseScheduleReturnValue } from './useSchedule'; export interface IScheduleContainerProps extends IUseScheduleProps { /** A render prop function which receives the schedule state */ render?: (options: IUseScheduleReturnValue) => React.ReactNode; /** A children render prop function which receives the schedule state */ children?: (options: IUseScheduleReturnValue) => React.ReactNode; } export declare const ScheduleContainer: React.FunctionComponent<IScheduleContainerProps>;