Skip to content
Snippets Groups Projects
Unverified Commit 22138b39 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Don't use extend for PaddedTextButton (#17197)

extend is deprecated, see the previous PR #17048
parent 3b368fd1
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,11 @@ import PropTypes from "prop-types";
import cx from "classnames";
import { t } from "ttag";
import styled from "styled-components";
import { ClampedDiv } from "./ClampedText.styled";
import { TextButton } from "metabase/components/Button.styled";
const PaddedTextButton = TextButton.extend`
const PaddedTextButton = styled(TextButton)`
margin: 0.5rem 0;
`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment