@atlaskit/page-header
Version:
A page header defines the top of a page. It contains a title and can be optionally combined with breadcrumbs buttons, search, and filters.
26 lines • 942 B
JavaScript
/* title-wrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
// TODO: Remove this eslint-disable when prop names have been renamed.
// This rule is here as prop name changes are a major as they are used
// by our consumers. The prop name concerned here is truncateTitle.
// This can be done in the next lite-mode conversion.
/* eslint-disable @repo/internal/react/boolean-prop-naming-convention */
import "./title-wrapper.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
const titleWrapperStyles = null;
const titleWrapperTruncateStyles = null;
/**
* __Title wrapper__.
*
* A title wrapper is a wrapper around the title and the actions.
*
*/
const TitleWrapper = ({
children,
truncateTitle
}) => {
return /*#__PURE__*/React.createElement("div", {
className: ax(["_1e0c1txw _4cvr1y6m _1n261q9c", truncateTitle && "_1n261q9c"])
}, children);
};
export default TitleWrapper;