Browse Source

fix: inaccurate component attribute (#2868)

Song Lim 3 months ago
parent
commit
64fe9ae576
1 changed files with 1 additions and 1 deletions
  1. 1 1
      content/feedback/notification/index-en-US.md

+ 1 - 1
content/feedback/notification/index-en-US.md

@@ -58,7 +58,7 @@ import { Notification, Button, ButtonGroup } from '@douyinfe/semi-ui';
     return (
         <>
             <ButtonGroup>
-                <Button onClick={() => Notification.info({ ...opts, Position: 'top' })}>top</Button>
+                <Button onClick={() => Notification.info({ ...opts, position: 'top' })}>top</Button>
                 <Button onClick={() => Notification.info({ ...opts, position: 'topLeft' })}>topLeft</Button>
                 <Button onClick={() => Notification.info(opts)}>topRight</Button>
             </ButtonGroup>