@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.
17 lines (16 loc) • 536 B
TypeScript
export default class YearsView extends React.Component<any, any, any> {
static defaultProps: {
renderYear: (props: any, year: any) => JSX.Element;
};
constructor(props: any);
constructor(props: any, context: any);
renderNavigation(): JSX.Element;
renderYears(): JSX.Element[];
renderYear(year: any): any;
getViewYear(): number;
getSelectedYear(): any;
disabledYearsCache: {};
isDisabledYear(year: any): any;
_updateSelectedYear: (event: any) => void;
}
import React from "react";