How to use the @blueprintjs/datetime.TimePrecision.SECOND function in @blueprintjs/datetime

To help you get started, we’ve selected a few @blueprintjs/datetime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github palantir / blueprint / packages / docs-app / src / examples / datetime-examples / common / precisionSelect.tsx View on Github external
export const PrecisionSelect: React.SFC = props => (
    <label>
        {props.label || "Precision"}
        
            {props.allowNone &amp;&amp; <option value="none">None</option>}
            <option value="{TimePrecision.MINUTE}">Minute</option>
            <option value="{TimePrecision.SECOND}">Second</option>
            <option value="{TimePrecision.MILLISECOND}">Millisecond</option>
        
    </label>
);