From 198f231abf0a54cefafb4fc5cacfc61106bb2571 Mon Sep 17 00:00:00 2001 From: Justin Anastos Date: Fri, 11 Oct 2019 11:18:30 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20improve=20documentation=20for=20?= =?UTF-8?q?`as`=20prop=20in=20`Button`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Button/Button.stories.mdx | 42 +++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/src/Button/Button.stories.mdx b/src/Button/Button.stories.mdx index 0957b1ad..4d6f6f32 100644 --- a/src/Button/Button.stories.mdx +++ b/src/Button/Button.stories.mdx @@ -363,28 +363,32 @@ For dark themed buttons, the borders are completely removed to make the colors l -## Custom element +## `as` -You can customize the element rendered by `Button`. This is helpful when you want to render a link that looks like a button. +Specify the element used to render the button with the `as` prop. The default is ` - - - - - - - - - + +
+ + + + + + +