Repository URL to install this package:
|
Version:
0.9.5 ▾
|
ui-component-library
/
dist
/
typings
/
src
/
components
/
organisms
/
ExpandableCard
/
renderProps.d.ts
|
|---|
/// <reference types="react" />
import { CardProps } from './typings';
import { ExpandableState as CardState } from './State';
/**
* @description only renders toggle button
*/
declare function renderToggleButton(props: CardProps, state: CardState): JSX.Element;
/**
* @description the first view of the Expandable card
*/
declare function renderDefaultView(props: CardProps, state: CardState): JSX.Element;
/**
* @description the Expandable view of the card
*/
declare function renderExpandedView(props: CardProps, state: CardState): JSX.Element;
/**
* @description only renders wrappers
*/
declare function renderWrap(props: CardProps, state: CardState): JSX.Element;
export { renderWrap, renderToggleButton, renderDefaultView, renderExpandedView };