on master help sign in
fix: change default button tag to span to avoid dom nesting semantics
d6d3786Matt Condon (shrugs)
src/indigo-react/components/Button.js+1−1
@@ -6,7 +6,7 @@ import Flex from './Flex';
6import { HelpText } from './Typography';
6import { HelpText } from './Typography';
7
7
8export default function Button({
8export default function Button({
9− as: As = 'a',
9+ as: As = 'span',
10 solid = false,
10 solid = false,
11 success = false,
11 success = false,
12 disabled = false,
12 disabled = false,