@metrostar/comet-uswds
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,2 +8,6 @@ import React, { PropsWithChildren, ReactNode } from 'react'; | ||
/** | ||
* A custom class to apply to the component | ||
*/ | ||
className?: string; | ||
/** | ||
* The body of the card | ||
@@ -16,3 +20,3 @@ */ | ||
*/ | ||
export declare const Card: ({ id, children }: CardProps) => React.ReactElement; | ||
export declare const Card: ({ id, className, children }: CardProps) => React.ReactElement; | ||
export declare const CardBody: React.FC<PropsWithChildren>; | ||
@@ -19,0 +23,0 @@ export declare const CardHeader: React.FC<PropsWithChildren>; |
@@ -8,2 +8,6 @@ import React, { PropsWithChildren, ReactNode } from 'react'; | ||
/** | ||
* A custom class to apply to the component | ||
*/ | ||
className?: string; | ||
/** | ||
* The body of the card | ||
@@ -16,3 +20,3 @@ */ | ||
*/ | ||
export declare const Card: ({ id, children }: CardProps) => React.ReactElement; | ||
export declare const Card: ({ id, className, children }: CardProps) => React.ReactElement; | ||
export declare const CardBody: React.FC<PropsWithChildren>; | ||
@@ -19,0 +23,0 @@ export declare const CardHeader: React.FC<PropsWithChildren>; |
@@ -183,2 +183,6 @@ import React, { ReactNode, SyntheticEvent, PropsWithChildren, ChangeEventHandler, MouseEventHandler, FormEvent } from 'react'; | ||
/** | ||
* A custom class to apply to the component | ||
*/ | ||
className?: string; | ||
/** | ||
* The body of the card | ||
@@ -191,3 +195,3 @@ */ | ||
*/ | ||
declare const Card: ({ id, children }: CardProps) => React.ReactElement; | ||
declare const Card: ({ id, className, children }: CardProps) => React.ReactElement; | ||
declare const CardBody: React.FC<PropsWithChildren>; | ||
@@ -194,0 +198,0 @@ declare const CardHeader: React.FC<PropsWithChildren>; |
{ | ||
"name": "@metrostar/comet-uswds", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "React with TypeScript Component Library based on USWDS 3.0.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
9170591
7502