Standardize CodeBlock component
Summary: Code blocks are quite common in Flipper, and a bit verbose in Ant, so let's standardize! Changelog: Standardize CodeBlock component Reviewed By: passy Differential Revision: D28117560 fbshipit-source-id: 5a5538a49b59ef40c814d22055fac56e7598cbbb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dd7a9f5195
commit
5bf9541e05
@@ -873,6 +873,10 @@ The following additional properties are supported:
|
||||
|
||||
A horizontal panel to organize buttons and alike. Basically a `Layout.Horizontal` with a border, padding, gap and wrapping enabled.
|
||||
|
||||
### CodeBlock
|
||||
|
||||
A preformatted paragraph that supports wrapping, preserves whitespace and uses monospace.
|
||||
|
||||
### DataList
|
||||
|
||||
The DataList can be used to display a set of items efficiently, and where a single item can be selected.
|
||||
|
||||
Reference in New Issue
Block a user