Skip to content

fix(typings): fix typings spelling on Accordion #1044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ export const TableRow: React.ComponentClass<TableRowProps>;

// Accordion
// ----------------------------------
interface AccordianProps {
interface AccordionProps {
activeIndex?: number;
as?: any;
children?: React.ReactNode;
Expand All @@ -1159,30 +1159,30 @@ interface AccordianProps {
styled?: boolean;
}

interface AccordianClass extends React.ComponentClass<AccordianProps> {
Content: typeof AccordianContent;
Title: typeof AccordianTitle;
interface AccordionClass extends React.ComponentClass<AccordionProps> {
Content: typeof AccordionContent;
Title: typeof AccordionTitle;
}

export const Accordian: AccordianClass;
export const Accordion: AccordionClass;

interface AccordianContentProps {
interface AccordionContentProps {
active?: boolean;
as?: any;
children?: React.ReactNode;
className?: string;
}

export const AccordianContent: React.ComponentClass<AccordianContentProps>;
export const AccordionContent: React.ComponentClass<AccordionContentProps>;

interface AccordianTitleProps extends ReactMouseEvents<HTMLElement> {
interface AccordionTitleProps extends ReactMouseEvents<HTMLElement> {
active?: boolean;
as?: any;
children?: React.ReactNode;
className?: string;
}

export const AccordianTitle: React.ComponentClass<AccordianTitleProps>;
export const AccordionTitle: React.ComponentClass<AccordionTitleProps>;

// Checkbox
// ----------------------------------
Expand Down