"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.TruncateDefault = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _ = _interopRequireDefault(require("."));
var _2 = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = exports.default = {
  title: 'Atoms / Truncate',
  parameters: {
    component: _.default
  }
};
var StyledDiv = _styledComponents.default.div.withConfig({
  displayName: "Truncatestories__StyledDiv",
  componentId: "sc-1d9q8y6-0"
})(["max-width:", "px;"], function (p) {
  return p.theme.spacing.unit(35);
});
var TruncateDefault = exports.TruncateDefault = function TruncateDefault() {
  return _react.default.createElement(StyledDiv, null, _react.default.createElement(_.default, null, _react.default.createElement(_2.Typography, {
    type: "primary"
  }, "This text will be truncated after 35 units")));
};