Explorar o código

fix: inaccurate component attribute (#2868)

Song Lim hai 3 meses
pai
achega
64fe9ae576
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>