on master help sign in
fix: change default button tag to span to avoid dom nesting semantics
commitd6d3786fbbe9582ace4c7052dadf1c7f3b2a1d04 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateMon 19 Aug 2019, 19:50 (7 years ago) parent2d80b2a
1 file changed+1−1
src/indigo-react/components/Button.js+1−1
src/indigo-react/components/Button.js+1−1
@@ -6,7 +6,7 @@ import Flex from './Flex';
66import { HelpText } from './Typography';
77
88export default function Button({
9− as: As = 'a',
9+ as: As = 'span',
1010 solid = false,
1111 success = false,
1212 disabled = false,