code: function borderTransform({
    className,
    ba, bl, br, bt, bb, bn,
    bw,
    radius,
    rounded,
    ...ownerProps
  }) {
    const [type, value] = borderDeclaration({ ba, bl, br, bt, bb, bn });
    const borderColor = R.is(Boolean, value) ? undefined : value;
  
    const base = {
      br: normalizeRadii(radius),
      'br--': rounded,
      'b--': borderColor,
      bw,
    };
  
    const classList = type ? R.merge(base, { [type]: '' }) : base;
  
    const borderStyles = classesFor(classList);
  
    return R.merge(
      { className: cx([borderStyles, className]) },
      ownerProps,
    );
  }
docs: withBorder HOC