en-US
The dBlock attribute will make the button fit the width of its parent.
zh-CN
dBlock 属性将使按钮适合其父宽度。
import { DButton } from '@react-devui/ui';
export default function Demo() {
return (
<>
<DButton dBlock>Primary Button</DButton>
<DButton dBlock dType="secondary">
Secondary Button
</DButton>
</>
);
}