{
    "componentChunkName": "component---src-layouts-react-component-layout-tsx",
    "path": "/components/button/react",
    "result": {"data":{"primerReactVersion":{"version":"36.5.0"},"sitePage":{"path":"/components/button","context":{"frontmatter":{"title":"Button","description":"Button is used to initiate actions on a page or form.","reactId":"button","railsIds":["Primer::Beta::Button","Primer::ButtonComponent"],"figmaId":"button","cssId":"button"}}},"reactComponent":{"name":"Button","status":"alpha","a11yReviewed":false,"stories":[{"id":"components-button--default","code":"() => <Button>Default</Button>"}],"props":[{"name":"children","type":"React.ReactNode","description":"The content of the button.","defaultValue":null,"required":true,"deprecated":null},{"name":"count","type":"number | string","description":"For counter buttons, the number to display.","defaultValue":null,"required":true,"deprecated":null},{"name":"variant","type":"'default'\n| 'primary'\n| 'danger'\n| 'invisible'","description":"Change the visual style of the button.","defaultValue":"'default'","required":null,"deprecated":null},{"name":"size","type":"'small'\n| 'medium'\n| 'large'","description":null,"defaultValue":"'medium'","required":null,"deprecated":null},{"name":"leadingIcon","type":"React.ComponentType<OcticonProps>","description":"An icon to display before the button text.","defaultValue":null,"required":null,"deprecated":true},{"name":"leadingVisual","type":"React.ElementType","description":"A visual to display before the button text.","defaultValue":null,"required":null,"deprecated":null},{"name":"trailingIcon","type":"React.ComponentType<OcticonProps>","description":"An icon to display after the button text.","defaultValue":null,"required":null,"deprecated":true},{"name":"trailingVisual","type":"React.ElementType","description":"A visual to display after the button text.","defaultValue":null,"required":null,"deprecated":null},{"name":"inactive","type":"boolean","description":"Whether the button looks visually disabled, but can still accept all the same interactions as an enabled button.\n This is intended to be used when a system error such as an outage prevents the button from performing its usual action.\n Inactive styles are slightly different from disabled styles because inactive buttons need to have an accessible color contrast ratio. This is because inactive buttons can have tooltips or perform an action such as opening a dialog explaining why it's inactive.\n If both `disabled` and `inactive` are true, `disabled` takes precedence.","defaultValue":null,"required":null,"deprecated":null},{"name":"as","type":"React.ElementType","description":null,"defaultValue":"'button'","required":null,"deprecated":null},{"name":"sx","type":"SystemStyleObject","description":null,"defaultValue":null,"required":null,"deprecated":null},{"name":"ref","type":"React.RefObject<HTMLButtonElement>","description":null,"defaultValue":null,"required":null,"deprecated":null}],"subcomponents":null}},"pageContext":{"componentId":"button","parentPath":"/components/button"}},
    "staticQueryHashes": ["1056354862","2102389209","2745756513","2790671566","2939673985","3235046957","3907230164"]}