import * as React from "react" ; import { buttonSizes , InvertedButton } from "../Button" ; import { ListingSummaryComponentProps } from "./types" ; import { ViewDetailsButtonText } from "./textComponents" ; const SummaryActionButton = props => { return ( < InvertedButton size = { buttonSizes . SMALL } > < ButtonText { ... props } / > < /InvertedButton>); } ; const ButtonText = props => { return < ViewDetailsButtonText />; } ; export default SummaryActionButton ;