From b9cd4a6095b47b623efc5b743b0e30d5aff63abe Mon Sep 17 00:00:00 2001 From: Rodrigo Antinarelli Date: Tue, 3 Mar 2020 19:36:45 -0300 Subject: [PATCH] add how to import in button documentation --- platform/ui/src/components/Button/Button.mdx | 53 ++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/platform/ui/src/components/Button/Button.mdx b/platform/ui/src/components/Button/Button.mdx index 270320ef1..ce6c55196 100644 --- a/platform/ui/src/components/Button/Button.mdx +++ b/platform/ui/src/components/Button/Button.mdx @@ -11,6 +11,12 @@ import Button from './'; Buttons are used to execute actions when users interacts with them. +## Import + +```javascript +import { Button } from '@ohfi/ui'; +``` + ## Properties @@ -178,3 +184,50 @@ Buttons are used to execute actions when users interacts with them. }} + +## Icon Buttons + +Icon buttons are generally used in toolbars. + +```javascript +import { IconButton } from '@ohfi/ui'; +``` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +