import { Typography } from "@material-ui/core"; import { Button } from "@saleor/components/Button"; import Grid from "@saleor/components/Grid"; import React from "react"; import { useExtendedAttributeStyles } from "./styles"; interface ExtendedAttributeRowProps { label: string; selectLabel: string; disabled: boolean; onSelect: () => void; } const ExtendedAttributeRow: React.FC = props => { const { label, selectLabel, disabled, onSelect, children } = props; const classes = useExtendedAttributeStyles(props); return ( <>
{label}
{children}
); }; ExtendedAttributeRow.displayName = "ExtendedAttributeRow"; export default ExtendedAttributeRow;