tldraw/apps/docs/content/gen/Dialog-namespace.mdx
alex c893a02878
remove lock option from highlighter (#1703)
Highlighter is autolocked, so we shouldn't show the lock icon 

### Change Type

- [x] `patch` — Bug fix


[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- We no longer show the tool lock option for highlighter - it didn't do
anything anyway
2023-07-04 10:41:14 +00:00

221 lines
2.2 KiB
Text

---
title: Dialog
status: published
category: ui
group: Namespace
author: api
date: 06/23/2023
order: 4
---<Small>None Namespace</Small>
<details>
<summary>Table of Contents</summary>
- [Methods](#methods)
- [Body](#Dialog-Body-function-1)
- [CloseButton](#Dialog-CloseButton-function-1)
- [Footer](#Dialog-Footer-function-1)
- [Header](#Dialog-Header-function-1)
- [Title](#Dialog-Title-function-1)
</details>
##### Signature
```ts
```
---
## Methods
### `Body` \{#Dialog-Body-function-1}
<Small>Public Function</Small>
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`{ className, children, style, }`
</ParametersTableName>
<ParametersTableDescription>
```ts
{
className?: string
children: any
style?: React.CSSProperties
}
```
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
JSX.Element
```
---
### `CloseButton` \{#Dialog-CloseButton-function-1}
<Small>Public Function</Small>
##### Parameters
None
##### Returns
```ts
JSX.Element
```
---
### `Footer` \{#Dialog-Footer-function-1}
<Small>Public Function</Small>
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`{ className, children }`
</ParametersTableName>
<ParametersTableDescription>
```ts
{
className?: string
children: any
}
```
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
JSX.Element
```
---
### `Header` \{#Dialog-Header-function-1}
<Small>Public Function</Small>
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`{ className, children }`
</ParametersTableName>
<ParametersTableDescription>
```ts
{
className?: string
children: any
}
```
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
JSX.Element
```
---
### `Title` \{#Dialog-Title-function-1}
<Small>Public Function</Small>
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`{ className, children }`
</ParametersTableName>
<ParametersTableDescription>
```ts
{
className?: string
children: any
}
```
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
JSX.Element
```
---