Skip to content

Commit 166878e

Browse files
ericl85levithomason
authored andcommitted
fix(typings): fix typings spelling on Accordion (#1044)
1 parent 1693cbc commit 166878e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

typings/index.d.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ export const TableRow: React.ComponentClass<TableRowProps>;
11461146

11471147
// Accordion
11481148
// ----------------------------------
1149-
interface AccordianProps {
1149+
interface AccordionProps {
11501150
activeIndex?: number;
11511151
as?: any;
11521152
children?: React.ReactNode;
@@ -1159,30 +1159,30 @@ interface AccordianProps {
11591159
styled?: boolean;
11601160
}
11611161

1162-
interface AccordianClass extends React.ComponentClass<AccordianProps> {
1163-
Content: typeof AccordianContent;
1164-
Title: typeof AccordianTitle;
1162+
interface AccordionClass extends React.ComponentClass<AccordionProps> {
1163+
Content: typeof AccordionContent;
1164+
Title: typeof AccordionTitle;
11651165
}
11661166

1167-
export const Accordian: AccordianClass;
1167+
export const Accordion: AccordionClass;
11681168

1169-
interface AccordianContentProps {
1169+
interface AccordionContentProps {
11701170
active?: boolean;
11711171
as?: any;
11721172
children?: React.ReactNode;
11731173
className?: string;
11741174
}
11751175

1176-
export const AccordianContent: React.ComponentClass<AccordianContentProps>;
1176+
export const AccordionContent: React.ComponentClass<AccordionContentProps>;
11771177

1178-
interface AccordianTitleProps extends ReactMouseEvents<HTMLElement> {
1178+
interface AccordionTitleProps extends ReactMouseEvents<HTMLElement> {
11791179
active?: boolean;
11801180
as?: any;
11811181
children?: React.ReactNode;
11821182
className?: string;
11831183
}
11841184

1185-
export const AccordianTitle: React.ComponentClass<AccordianTitleProps>;
1185+
export const AccordionTitle: React.ComponentClass<AccordionTitleProps>;
11861186

11871187
// Checkbox
11881188
// ----------------------------------

0 commit comments

Comments
 (0)